Class ModelRepresentation

    • Field Detail

      • description

        protected String description
      • createdBy

        protected String createdBy
      • lastUpdatedBy

        protected String lastUpdatedBy
      • lastUpdated

        protected Date lastUpdated
      • latestVersion

        protected boolean latestVersion
      • version

        protected int version
      • comment

        protected String comment
      • modelType

        protected Integer modelType
      • tenantId

        protected String tenantId
    • Constructor Detail

      • ModelRepresentation

        public ModelRepresentation​(AbstractModel model)
      • ModelRepresentation

        public ModelRepresentation()
    • Method Detail

      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getKey

        public String getKey()
      • setKey

        public void setKey​(String key)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • getLastUpdated

        public Date getLastUpdated()
      • setLastUpdated

        public void setLastUpdated​(Date lastUpdated)
      • getCreatedBy

        public String getCreatedBy()
      • setCreatedBy

        public void setCreatedBy​(String createdBy)
      • setLatestVersion

        public void setLatestVersion​(boolean latestVersion)
      • isLatestVersion

        public boolean isLatestVersion()
      • getVersion

        public int getVersion()
      • setVersion

        public void setVersion​(int version)
      • getLastUpdatedBy

        public String getLastUpdatedBy()
      • setLastUpdatedBy

        public void setLastUpdatedBy​(String lastUpdatedBy)
      • setComment

        public void setComment​(String comment)
      • getComment

        public String getComment()
      • getModelType

        public Integer getModelType()
      • setModelType

        public void setModelType​(Integer modelType)
      • getTenantId

        public String getTenantId()
      • setTenantId

        public void setTenantId​(String tenantId)
      • toModel

        public Model toModel()
      • updateModel

        public void updateModel​(Model model)
        Update all editable properties of the given Model based on the values in this instance.