Class Implementation

    • Constructor Detail

      • Implementation

        public Implementation()
        Creates an empty Method
      • Implementation

        public Implementation​(int newposition,
                              List<AccessedProperty> newaccessedProperties,
                              List<AccessedImplementation> newaccessedImplementations,
                              List<Type> newincludes,
                              PrefetchingInformation newPrefetchingInfo,
                              Map<Feature.FeatureType,​QuantitativeFeature> newReqQuantitativeFeatures,
                              Map<Feature.FeatureType,​QualitativeFeature> newReqQualitativeFeatures,
                              String newnamespace,
                              String newclassName,
                              String newopNameAndDescriptor)
        Implementation Specification constructor with provided specifications
        Parameters:
        newposition - Position of the implementation
        newaccessedProperties - PropertyID of the properties accessed by the Implementation
        newaccessedImplementations - IDs of the implementations accessed by the Implementation
        newincludes - Includes of the implementation
        newPrefetchingInfo - An object of PrefetchingInformation
        newReqQuantitativeFeatures - Quantitative features required to execute the code
        newReqQualitativeFeatures - Qualitative features required to execute the code
        newnamespace - Namespace of the class containing the implementation
        newclassName - Class name of the class containing the implementation
        newopNameAndDescriptor - Name and Descriptor of the operation
    • Method Detail

      • getLanguage

        public abstract CommonMessages.Langs getLanguage()
        Retrieve the language for this implementation.
        Returns:
        The Langs code for the specific implementation.
      • getResponsibleAccountName

        public final String getResponsibleAccountName()
        Get the Implementation::responsibleAccountName
        Returns:
        the responsibleAccountName
      • setResponsibleAccountName

        public final void setResponsibleAccountName​(String newresponsibleAccountName)
        Set the Implementation::responsibleAccountName
        Parameters:
        newresponsibleAccountName - the responsibleAccountName to set
      • getNamespace

        public final String getNamespace()
        Get the Implementation::namespace
        Returns:
        the namespace
      • setNamespace

        public final void setNamespace​(String newnamespace)
        Set the Implementation::namespace
        Parameters:
        newnamespace - the namespace to set
      • getClassName

        public final String getClassName()
        Get the Implementation::className
        Returns:
        the className
      • setClassName

        public final void setClassName​(String newclassName)
        Set the Implementation::className
        Parameters:
        newclassName - the className to set
      • getOpNameAndDescriptor

        public final String getOpNameAndDescriptor()
        Get the Implementation::opNameAndDescriptor
        Returns:
        the opNameAndDescriptor
      • setOpNameAndDescriptor

        public final void setOpNameAndDescriptor​(String newopNameAndDescriptor)
        Set the Implementation::opNameAndDescriptor
        Parameters:
        newopNameAndDescriptor - the opNameAndDescriptor to set
      • getPosition

        public final int getPosition()
        Get the Implementation::position
        Returns:
        the position
      • setPosition

        public final void setPosition​(int newposition)
        Set the Implementation::position
        Parameters:
        newposition - the position to set
      • getIncludes

        public final List<Type> getIncludes()
        Get the Implementation::includes
        Returns:
        the includes
      • setIncludes

        public final void setIncludes​(List<Type> newincludes)
        Set the Implementation::includes
        Parameters:
        newincludes - the includes to set
      • getAccessedProperties

        public final List<AccessedProperty> getAccessedProperties()
        Get the Implementation::accessedProperties
        Returns:
        the accessedProperties
      • setAccessedProperties

        public final void setAccessedProperties​(List<AccessedProperty> newaccessedProperties)
        Set the Implementation::accessedProperties
        Parameters:
        newaccessedProperties - the accessedProperties to set
      • getAccessedImplementations

        public final List<AccessedImplementation> getAccessedImplementations()
        Get the Implementation::accessedImplementations
        Returns:
        the accessedImplementations
      • setAccessedImplementations

        public final void setAccessedImplementations​(List<AccessedImplementation> newaccessedImplementations)
        Set the Implementation::accessedImplementations
        Parameters:
        newaccessedImplementations - the accessedImplementations to set
      • getRequiredQuantitativeFeatures

        public final Map<Feature.FeatureType,​QuantitativeFeature> getRequiredQuantitativeFeatures()
        Get the Implementation::requiredQuantitativeFeatures
        Returns:
        the requiredQuantitativeFeatures
      • setRequiredQuantitativeFeatures

        public final void setRequiredQuantitativeFeatures​(Map<Feature.FeatureType,​QuantitativeFeature> newrequiredQuantitativeFeatures)
        Set the Implementation::requiredQuantitativeFeatures
        Parameters:
        newrequiredQuantitativeFeatures - the requiredQuantitativeFeatures to set
      • getRequiredQualitativeFeatures

        public final Map<Feature.FeatureType,​QualitativeFeature> getRequiredQualitativeFeatures()
        Get the Implementation::requiredQualitativeFeatures
        Returns:
        the requiredQualitativeFeatures
      • setRequiredQualitativeFeatures

        public final void setRequiredQualitativeFeatures​(Map<Feature.FeatureType,​QualitativeFeature> newrequiredQualitativeFeatures)
        Set the Implementation::requiredQualitativeFeatures
        Parameters:
        newrequiredQualitativeFeatures - the requiredQualitativeFeatures to set
      • getOperationID

        public final OperationID getOperationID()
        Get the Implementation::operationID
        Returns:
        the operationID
      • setOperationID

        public final void setOperationID​(OperationID newoperationID)
        Set the Implementation::operationID
        Parameters:
        newoperationID - the operationID to set
      • getMetaClassID

        public final MetaClassID getMetaClassID()
        Get the Implementation::metaClassID
        Returns:
        the metaClassID
      • setMetaClassID

        public final void setMetaClassID​(MetaClassID newmetaClassID)
        Set the Implementation::metaClassID
        Parameters:
        newmetaClassID - the metaClassID to set
      • getResponsibleAccountID

        public final AccountID getResponsibleAccountID()
        Get the Implementation::responsibleAccountID
        Returns:
        the responsibleAccountID
      • setResponsibleAccountID

        public final void setResponsibleAccountID​(AccountID newresponsibleAccountID)
        Set the Implementation::responsibleAccountID
        Parameters:
        newresponsibleAccountID - the responsibleAccountID to set
      • getNamespaceID

        public final NamespaceID getNamespaceID()
        Get the Implementation::namespaceID
        Returns:
        the namespaceID
      • setNamespaceID

        public final void setNamespaceID​(NamespaceID newnamespaceID)
        Set the Implementation::namespaceID
        Parameters:
        newnamespaceID - the namespaceID to set
      • getPrefetchingInfo

        public final PrefetchingInformation getPrefetchingInfo()
        Get the Implementation::prefetchingInfo
        Returns:
        the prefetchingInfo
      • setPrefetchingInfo

        public final void setPrefetchingInfo​(PrefetchingInformation newprefetchingInfo)
        Set the Implementation::prefetchingInfo
        Parameters:
        newprefetchingInfo - the prefetchingInfo to set