Class PropertyStubInfo
- java.lang.Object
-
- es.bsc.dataclay.util.management.stubs.PropertyStubInfo
-
public final class PropertyStubInfo extends Object
This class represents the information about a property in a contract in a stub.
-
-
Constructor Summary
Constructors Constructor Description PropertyStubInfo()Empty constructorPropertyStubInfo(PropertyID newpropertyID, String newpropertyName, Type newpropertyType, OperationID newgetterOperationID, OperationID newsetterOperationID, String newnamespace, NamespaceID newnamespaceID, String beforeUpdate, String afterUpdate, boolean inMaster)PropertyStubSpec constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object t)StringgetAfterUpdate()StringgetBeforeUpdate()OperationIDgetGetterOperationID()Get the PropertyStubInfo::getterOperationIDbooleangetInMaster()StringgetNamespace()Get namespaceNamespaceIDgetNamespaceID()Get namespaceIDPropertyIDgetPropertyID()Get the PropertyStubSpec::propertyIDStringgetPropertyName()Get the PropertyStubInfo::propertyNameTypegetPropertyType()Get the PropertyStubInfo::propertyTypeOperationIDgetSetterOperationID()Get the PropertyStubInfo::setterOperationIDinthashCode()voidsetAfterUpdate(String afterUpdate)voidsetBeforeUpdate(String beforeUpdate)voidsetGetterOperationID(OperationID newgetterOperationID)Set the PropertyStubInfo::getterOperationIDvoidsetInMaster(boolean inMaster)voidsetNamespace(String newnamespace)Set namespacevoidsetNamespaceID(NamespaceID newnamespaceID)Set namespaceIDvoidsetPropertyID(PropertyID newpropertyID)Set the PropertyStubSpec::propertyIDvoidsetPropertyName(String newpropertyName)Set the PropertyStubInfo::propertyNamevoidsetPropertyType(Type newpropertyType)Set the PropertyStubInfo::propertyTypevoidsetSetterOperationID(OperationID newsetterOperationID)Set the PropertyStubInfo::setterOperationID
-
-
-
Constructor Detail
-
PropertyStubInfo
public PropertyStubInfo()
Empty constructor
-
PropertyStubInfo
public PropertyStubInfo(PropertyID newpropertyID, String newpropertyName, Type newpropertyType, OperationID newgetterOperationID, OperationID newsetterOperationID, String newnamespace, NamespaceID newnamespaceID, String beforeUpdate, String afterUpdate, boolean inMaster)
PropertyStubSpec constructor- Parameters:
newpropertyID- ID of the PropertynewpropertyName- Name of the PropertynewpropertyType- Type of the PropertynewgetterOperationID- OperationID of the getter operationnewsetterOperationID- OperationID of the setter operationnewnamespace- Namespace of the property (different for enrichments)newnamespaceID- ID of the namespace
-
-
Method Detail
-
getPropertyID
public PropertyID getPropertyID()
Get the PropertyStubSpec::propertyID- Returns:
- the propertyID
-
setPropertyID
public void setPropertyID(PropertyID newpropertyID)
Set the PropertyStubSpec::propertyID- Parameters:
newpropertyID- the propertyID to set
-
getPropertyName
public String getPropertyName()
Get the PropertyStubInfo::propertyName- Returns:
- the propertyName
-
setPropertyName
public void setPropertyName(String newpropertyName)
Set the PropertyStubInfo::propertyName- Parameters:
newpropertyName- the propertyName to set
-
getPropertyType
public Type getPropertyType()
Get the PropertyStubInfo::propertyType- Returns:
- the propertyType
-
setPropertyType
public void setPropertyType(Type newpropertyType)
Set the PropertyStubInfo::propertyType- Parameters:
newpropertyType- the propertyType to set
-
getGetterOperationID
public OperationID getGetterOperationID()
Get the PropertyStubInfo::getterOperationID- Returns:
- the OperationID for the getter operation
-
setGetterOperationID
public void setGetterOperationID(OperationID newgetterOperationID)
Set the PropertyStubInfo::getterOperationID- Parameters:
newgetterOperationID- the new OperationID for the getter
-
getSetterOperationID
public OperationID getSetterOperationID()
Get the PropertyStubInfo::setterOperationID- Returns:
- the OperationID for the setter operation
-
setSetterOperationID
public void setSetterOperationID(OperationID newsetterOperationID)
Set the PropertyStubInfo::setterOperationID- Parameters:
newsetterOperationID- the new OperationID for the setter
-
getNamespace
public String getNamespace()
Get namespace- Returns:
- the namespace
-
setNamespace
public void setNamespace(String newnamespace)
Set namespace- Parameters:
newnamespace- the namespace to set
-
getNamespaceID
public NamespaceID getNamespaceID()
Get namespaceID- Returns:
- the namespaceID
-
setNamespaceID
public void setNamespaceID(NamespaceID newnamespaceID)
Set namespaceID- Parameters:
newnamespaceID- the namespaceID to set
-
getAfterUpdate
public String getAfterUpdate()
-
setAfterUpdate
public void setAfterUpdate(String afterUpdate)
-
getBeforeUpdate
public String getBeforeUpdate()
-
setBeforeUpdate
public void setBeforeUpdate(String beforeUpdate)
-
getInMaster
public boolean getInMaster()
-
setInMaster
public void setInMaster(boolean inMaster)
-
-