Class Implementation
- java.lang.Object
-
- es.bsc.dataclay.util.MgrObject<ImplementationID>
-
- es.bsc.dataclay.util.management.classmgr.Implementation
-
- All Implemented Interfaces:
Comparable<Implementation>
- Direct Known Subclasses:
JavaImplementation,PythonImplementation
public abstract class Implementation extends MgrObject<ImplementationID> implements Comparable<Implementation>
This class represents an Implementation.
-
-
Constructor Summary
Constructors Constructor Description Implementation()Creates an empty MethodImplementation(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
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intcompareTo(Implementation other)List<AccessedImplementation>getAccessedImplementations()Get the Implementation::accessedImplementationsList<AccessedProperty>getAccessedProperties()Get the Implementation::accessedPropertiesStringgetClassName()Get the Implementation::classNameList<Type>getIncludes()Get the Implementation::includesabstract CommonMessages.LangsgetLanguage()Retrieve the language for this implementation.MetaClassIDgetMetaClassID()Get the Implementation::metaClassIDStringgetNamespace()Get the Implementation::namespaceNamespaceIDgetNamespaceID()Get the Implementation::namespaceIDOperationIDgetOperationID()Get the Implementation::operationIDStringgetOpNameAndDescriptor()Get the Implementation::opNameAndDescriptorintgetPosition()Get the Implementation::positionPrefetchingInformationgetPrefetchingInfo()Get the Implementation::prefetchingInfoMap<Feature.FeatureType,QualitativeFeature>getRequiredQualitativeFeatures()Get the Implementation::requiredQualitativeFeaturesMap<Feature.FeatureType,QuantitativeFeature>getRequiredQuantitativeFeatures()Get the Implementation::requiredQuantitativeFeaturesAccountIDgetResponsibleAccountID()Get the Implementation::responsibleAccountIDStringgetResponsibleAccountName()Get the Implementation::responsibleAccountNamevoidsetAccessedImplementations(List<AccessedImplementation> newaccessedImplementations)Set the Implementation::accessedImplementationsvoidsetAccessedProperties(List<AccessedProperty> newaccessedProperties)Set the Implementation::accessedPropertiesvoidsetClassName(String newclassName)Set the Implementation::classNamevoidsetIncludes(List<Type> newincludes)Set the Implementation::includesvoidsetMetaClassID(MetaClassID newmetaClassID)Set the Implementation::metaClassIDvoidsetNamespace(String newnamespace)Set the Implementation::namespacevoidsetNamespaceID(NamespaceID newnamespaceID)Set the Implementation::namespaceIDvoidsetOperationID(OperationID newoperationID)Set the Implementation::operationIDvoidsetOpNameAndDescriptor(String newopNameAndDescriptor)Set the Implementation::opNameAndDescriptorvoidsetPosition(int newposition)Set the Implementation::positionvoidsetPrefetchingInfo(PrefetchingInformation newprefetchingInfo)Set the Implementation::prefetchingInfovoidsetRequiredQualitativeFeatures(Map<Feature.FeatureType,QualitativeFeature> newrequiredQualitativeFeatures)Set the Implementation::requiredQualitativeFeaturesvoidsetRequiredQuantitativeFeatures(Map<Feature.FeatureType,QuantitativeFeature> newrequiredQuantitativeFeatures)Set the Implementation::requiredQuantitativeFeaturesvoidsetResponsibleAccountID(AccountID newresponsibleAccountID)Set the Implementation::responsibleAccountIDvoidsetResponsibleAccountName(String newresponsibleAccountName)Set the Implementation::responsibleAccountName-
Methods inherited from class es.bsc.dataclay.util.MgrObject
getDataClayID, setDataClayID
-
-
-
-
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 implementationnewaccessedProperties- PropertyID of the properties accessed by the ImplementationnewaccessedImplementations- IDs of the implementations accessed by the Implementationnewincludes- Includes of the implementationnewPrefetchingInfo- An object of PrefetchingInformationnewReqQuantitativeFeatures- Quantitative features required to execute the codenewReqQualitativeFeatures- Qualitative features required to execute the codenewnamespace- Namespace of the class containing the implementationnewclassName- Class name of the class containing the implementationnewopNameAndDescriptor- 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.
-
compareTo
public final int compareTo(Implementation other)
- Specified by:
compareToin interfaceComparable<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
-
-