Class Property

    • Constructor Detail

      • Property

        public Property()
        Creates an empty Property
      • Property

        public Property​(int newposition,
                        String newname,
                        Type newtype,
                        String newnamespace,
                        String newclassName)
        Property constructor
        Parameters:
        newposition - Position of the property
        newname - Name of the property
        newtype - Type of the property
        newclassName - Name of the MetaClass containing the Property
        newnamespace - Name of the namespace in which the property has been created
    • Method Detail

      • getName

        public String getName()
        Get the name of this Property
        Returns:
        Property::name of container Property.
      • setName

        public void setName​(String newname)
        Set the Property::name of this Property
        Parameters:
        newname - New name to be set
      • getType

        public Type getType()
        Get the TypeID of this Property
        Returns:
        Property::typeID of container Property.
      • setType

        public void setType​(Type newtype)
        Set the Property::type
        Parameters:
        newtype - New Type to set of this Property.
      • getGetterOperationID

        public OperationID getGetterOperationID()
        Get the Property::getterOperationID
        Returns:
        the getterOperationID
      • setGetterOperationID

        public void setGetterOperationID​(OperationID newgetterOperationID)
        Set the Property::getterOperationID
        Parameters:
        newgetterOperationID - the getterOperationID to set
      • getSetterOperationID

        public OperationID getSetterOperationID()
        Get the Property::setterOperationID
        Returns:
        the setterOperationID
      • setSetterOperationID

        public void setSetterOperationID​(OperationID newsetterOperationID)
        Set the Property::setterOperationID
        Parameters:
        newsetterOperationID - the setterOperationID to set
      • getGetterImplementationID

        public ImplementationID getGetterImplementationID()
        Get the Property::getterImplementationID
        Returns:
        the getterImplementationID
      • setGetterImplementationID

        public void setGetterImplementationID​(ImplementationID newGetterImplementationID)
        Set the Property::getterImplementationID
        Parameters:
        newGetterImplementationID - the getterImplementationID to set
      • getMetaClassID

        public MetaClassID getMetaClassID()
        Get the Property::metaClassID
        Returns:
        the metaClassID
      • setMetaClassID

        public void setMetaClassID​(MetaClassID newmetaClassID)
        Set the Property::metaClassID
        Parameters:
        newmetaClassID - the metaClassID to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getPosition

        public int getPosition()
        Get the Property::position
        Returns:
        The position of the property
      • setPosition

        public void setPosition​(int newPosition)
        Sets the Property::position
        Parameters:
        newPosition - the position to be set
      • getJavaPropertyInfo

        public JavaPropertyInfo getJavaPropertyInfo()
        Get Java language-dependant information of the property
        Returns:
        Java language-dependant information of the property
      • getPythonPropertyInfo

        public PythonPropertyInfo getPythonPropertyInfo()
        Get Python language-dependant information of the property
        Returns:
        Python language-dependant information of the property
      • addLanguageDepInfo

        public void addLanguageDepInfo​(LanguageDependantPropertyInfo langInfo)
        Add language dependant information
        Parameters:
        langInfo - Language information
      • getNamespaceID

        public NamespaceID getNamespaceID()
        Get the Property::namespaceID
        Returns:
        the namespaceID
      • setNamespaceID

        public void setNamespaceID​(NamespaceID newnamespaceID)
        Set the Property::namespaceID
        Parameters:
        newnamespaceID - the namespaceID to set
      • getNamespace

        public String getNamespace()
        Get namespace
        Returns:
        the namespace
      • setNamespace

        public void setNamespace​(String newnamespace)
        Set namespace
        Parameters:
        newnamespace - the namespace to set
      • getClassName

        public String getClassName()
        Get className
        Returns:
        the className
      • setClassName

        public void setClassName​(String newclassName)
        Set className
        Parameters:
        newclassName - the className to set
      • getSetterImplementationID

        public ImplementationID getSetterImplementationID()
        Get setterImplementationID
        Returns:
        the setterImplementationID
      • setSetterImplementationID

        public void setSetterImplementationID​(ImplementationID newsetterImplementationID)
        Set setterImplementationID
        Parameters:
        newsetterImplementationID - the setterImplementationID to set
      • getUpdateOperationID

        public OperationID getUpdateOperationID()
        Get the Property::updateOperationID
        Returns:
        the updateOperationID
      • setUpdateOperationID

        public void setUpdateOperationID​(OperationID newUpdateOperationID)
        Set the Property::updateOperationID
        Parameters:
        newUpdateOperationID - the setterOperationID to set
      • getUpdateImplementationID

        public ImplementationID getUpdateImplementationID()
        Get updateImplementationID
        Returns:
        the updateImplementationID
      • setUpdateImplementationID

        public void setUpdateImplementationID​(ImplementationID newUpdateImplementationID)
        Set updateImplementationID
        Parameters:
        newUpdateImplementationID - the setterImplementationID to set
      • getAnnotations

        public List<Annotation> getAnnotations()
        Get annotations
        Returns:
        List of property's annotations
      • setAnnotations

        public void setAnnotations​(List<Annotation> annotations)
        Set annotations
        Parameters:
        annotations - the list of annotations to set
      • addAnnotation

        public void addAnnotation​(Annotation annotation)
        Add an annotation to the property
        Parameters:
        annotation - the annotation to add
      • 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)
      • isReplicated

        public boolean isReplicated()