Class DocumentMeta

java.lang.Object
lu.kbra.modelizer_next.document.DocumentMeta

public class DocumentMeta extends Object
Metadata attached to a Modelizer document, such as version information and document-level attributes.
  • Constructor Details

    • DocumentMeta

      public DocumentMeta()
      Creates a document meta instance.
  • Method Details

    • getApplicationVersion

      public String getApplicationVersion()
      Returns the application version.
      Returns:
      the application version
    • getCreatedAt

      public Instant getCreatedAt()
      Returns the created at.
      Returns:
      the created at
    • getId

      public String getId()
      Returns the ID.
      Returns:
      the ID
    • getName

      @Deprecated public String getName()
      Deprecated.
      Returns the name.
      Returns:
      the name
    • getUpdatedAt

      public Instant getUpdatedAt()
      Returns the updated at.
      Returns:
      the updated at
    • setApplicationVersion

      public void setApplicationVersion(String applicationVersion)
      Sets the application version.
      Parameters:
      applicationVersion - text value for application version
    • setCreatedAt

      public void setCreatedAt(Instant createdAt)
      Sets the created at.
      Parameters:
      createdAt - created at value used by the operation
    • setId

      public void setId(String id)
      Sets the ID.
      Parameters:
      id - stable id of the model element
    • setName

      @Deprecated public void setName(String name)
      Deprecated.
      Sets the name.
      Parameters:
      name - name value to read, write, or display
    • setUpdatedAt

      public void setUpdatedAt(Instant updatedAt)
      Sets the updated at.
      Parameters:
      updatedAt - updated at value used by the operation
    • toString

      public String toString()
      Builds a debug string for this document meta.
      Overrides:
      toString in class Object
      Returns:
      a debug string for this object