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 boolean
equals(Object t)
String
getAfterUpdate()
String
getBeforeUpdate()
OperationID
getGetterOperationID()
Get the PropertyStubInfo::getterOperationIDboolean
getInMaster()
String
getNamespace()
Get namespaceNamespaceID
getNamespaceID()
Get namespaceIDPropertyID
getPropertyID()
Get the PropertyStubSpec::propertyIDString
getPropertyName()
Get the PropertyStubInfo::propertyNameType
getPropertyType()
Get the PropertyStubInfo::propertyTypeOperationID
getSetterOperationID()
Get the PropertyStubInfo::setterOperationIDint
hashCode()
void
setAfterUpdate(String afterUpdate)
void
setBeforeUpdate(String beforeUpdate)
void
setGetterOperationID(OperationID newgetterOperationID)
Set the PropertyStubInfo::getterOperationIDvoid
setInMaster(boolean inMaster)
void
setNamespace(String newnamespace)
Set namespacevoid
setNamespaceID(NamespaceID newnamespaceID)
Set namespaceIDvoid
setPropertyID(PropertyID newpropertyID)
Set the PropertyStubSpec::propertyIDvoid
setPropertyName(String newpropertyName)
Set the PropertyStubInfo::propertyNamevoid
setPropertyType(Type newpropertyType)
Set the PropertyStubInfo::propertyTypevoid
setSetterOperationID(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)
-
-