Class PropertyStubInfo


  • public final class PropertyStubInfo
    extends Object
    This class represents the information about a property in a contract in a stub.
    • 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 Property
        newpropertyName - Name of the Property
        newpropertyType - Type of the Property
        newgetterOperationID - OperationID of the getter operation
        newsetterOperationID - OperationID of the setter operation
        newnamespace - 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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)