Class PythonImplementation
- java.lang.Object
-
- es.bsc.dataclay.util.MgrObject<ImplementationID>
-
- es.bsc.dataclay.util.management.classmgr.Implementation
-
- es.bsc.dataclay.util.management.classmgr.python.PythonImplementation
-
- All Implemented Interfaces:
Comparable<Implementation>
public final class PythonImplementation extends Implementation
This class represents a Python Implementation.
-
-
Constructor Summary
Constructors Constructor Description PythonImplementation()
Creates an empty PythonImplementationPythonImplementation(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 newopSignature, String newcode)
PythonImplementation Specification constructor with provided specifications
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
Get the PythonImplementation::codeCommonMessages.Langs
getLanguage()
Retrieve the language for this implementation.void
setCode(String newcode)
Set the PythonImplementation::code-
Methods inherited from class es.bsc.dataclay.util.management.classmgr.Implementation
compareTo, getAccessedImplementations, getAccessedProperties, getClassName, getIncludes, getMetaClassID, getNamespace, getNamespaceID, getOperationID, getOpNameAndDescriptor, getPosition, getPrefetchingInfo, getRequiredQualitativeFeatures, getRequiredQuantitativeFeatures, getResponsibleAccountID, getResponsibleAccountName, setAccessedImplementations, setAccessedProperties, setClassName, setIncludes, setMetaClassID, setNamespace, setNamespaceID, setOperationID, setOpNameAndDescriptor, setPosition, setPrefetchingInfo, setRequiredQualitativeFeatures, setRequiredQuantitativeFeatures, setResponsibleAccountID, setResponsibleAccountName
-
Methods inherited from class es.bsc.dataclay.util.MgrObject
getDataClayID, setDataClayID
-
-
-
-
Constructor Detail
-
PythonImplementation
public PythonImplementation()
Creates an empty PythonImplementation
-
PythonImplementation
public PythonImplementation(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 newopSignature, String newcode)
PythonImplementation 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 implementationnewopSignature
- Signature of the operationnewcode
- Code
-
-
Method Detail
-
getLanguage
public CommonMessages.Langs getLanguage()
Description copied from class:Implementation
Retrieve the language for this implementation.- Specified by:
getLanguage
in classImplementation
- Returns:
- The Langs code for the specific implementation.
-
getCode
public String getCode()
Get the PythonImplementation::code- Returns:
- the code
-
setCode
public void setCode(String newcode)
Set the PythonImplementation::code- Parameters:
newcode
- the code to set
-
-