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 int
compareTo(Implementation other)
List<AccessedImplementation>
getAccessedImplementations()
Get the Implementation::accessedImplementationsList<AccessedProperty>
getAccessedProperties()
Get the Implementation::accessedPropertiesString
getClassName()
Get the Implementation::classNameList<Type>
getIncludes()
Get the Implementation::includesabstract CommonMessages.Langs
getLanguage()
Retrieve the language for this implementation.MetaClassID
getMetaClassID()
Get the Implementation::metaClassIDString
getNamespace()
Get the Implementation::namespaceNamespaceID
getNamespaceID()
Get the Implementation::namespaceIDOperationID
getOperationID()
Get the Implementation::operationIDString
getOpNameAndDescriptor()
Get the Implementation::opNameAndDescriptorint
getPosition()
Get the Implementation::positionPrefetchingInformation
getPrefetchingInfo()
Get the Implementation::prefetchingInfoMap<Feature.FeatureType,QualitativeFeature>
getRequiredQualitativeFeatures()
Get the Implementation::requiredQualitativeFeaturesMap<Feature.FeatureType,QuantitativeFeature>
getRequiredQuantitativeFeatures()
Get the Implementation::requiredQuantitativeFeaturesAccountID
getResponsibleAccountID()
Get the Implementation::responsibleAccountIDString
getResponsibleAccountName()
Get the Implementation::responsibleAccountNamevoid
setAccessedImplementations(List<AccessedImplementation> newaccessedImplementations)
Set the Implementation::accessedImplementationsvoid
setAccessedProperties(List<AccessedProperty> newaccessedProperties)
Set the Implementation::accessedPropertiesvoid
setClassName(String newclassName)
Set the Implementation::classNamevoid
setIncludes(List<Type> newincludes)
Set the Implementation::includesvoid
setMetaClassID(MetaClassID newmetaClassID)
Set the Implementation::metaClassIDvoid
setNamespace(String newnamespace)
Set the Implementation::namespacevoid
setNamespaceID(NamespaceID newnamespaceID)
Set the Implementation::namespaceIDvoid
setOperationID(OperationID newoperationID)
Set the Implementation::operationIDvoid
setOpNameAndDescriptor(String newopNameAndDescriptor)
Set the Implementation::opNameAndDescriptorvoid
setPosition(int newposition)
Set the Implementation::positionvoid
setPrefetchingInfo(PrefetchingInformation newprefetchingInfo)
Set the Implementation::prefetchingInfovoid
setRequiredQualitativeFeatures(Map<Feature.FeatureType,QualitativeFeature> newrequiredQualitativeFeatures)
Set the Implementation::requiredQualitativeFeaturesvoid
setRequiredQuantitativeFeatures(Map<Feature.FeatureType,QuantitativeFeature> newrequiredQuantitativeFeatures)
Set the Implementation::requiredQuantitativeFeaturesvoid
setResponsibleAccountID(AccountID newresponsibleAccountID)
Set the Implementation::responsibleAccountIDvoid
setResponsibleAccountName(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:
compareTo
in 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
-
-