Class ExternalIdAbleImpl

    • Constructor Detail

      • ExternalIdAbleImpl

        public ExternalIdAbleImpl​(long id)
        Constructor
        Parameters:
        id - to use
      • ExternalIdAbleImpl

        public ExternalIdAbleImpl​(ExternalIdAbleImpl other)
        Copy constructor
        Parameters:
        other - to copy from
    • Method Detail

      • setExternalId

        public void setExternalId​(String externalId)
        set the external id
        Specified by:
        setExternalId in interface ExternalIdAble
        Parameters:
        externalId - to set
      • getXmlId

        public String getXmlId()
        the id exposed to users as the "normal" id in the PLANit native xml format
        Specified by:
        getXmlId in interface ExternalIdAble
        Returns:
        xmlId
      • setXmlId

        public void setXmlId​(String xmlId)
        set the external id
        Specified by:
        setXmlId in interface ExternalIdAble
        Parameters:
        xmlId - to set
      • deepClone

        public ExternalIdAbleImpl deepClone()
        An id entity should always support a deep copy, i.e., all "owned" members will be deep copied when a clone of this instance is created via this call. To be used with caution if not called by managed id container related code
        Specified by:
        deepClone in interface IdAble
        Specified by:
        deepClone in class IdAbleImpl
        Returns:
        deep copy of entity