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

      • setId

        protected void setId​(long id)
        set the id
        Parameters:
        id - to set
      • getId

        public long getId()
        collect id of the entity
        Specified by:
        getId in interface Idable
        Returns:
        id
      • 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