Package lu.kbra.modelizer_next.document
Class DocumentMeta
java.lang.Object
lu.kbra.modelizer_next.document.DocumentMeta
Metadata attached to a Modelizer document, such as version information and document-level
attributes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the application version.Returns the created at.getId()Returns the ID.getName()Deprecated.Returns the updated at.voidsetApplicationVersion(String applicationVersion) Sets the application version.voidsetCreatedAt(Instant createdAt) Sets the created at.voidSets the ID.voidDeprecated.voidsetUpdatedAt(Instant updatedAt) Sets the updated at.toString()Builds a debug string for this document meta.
-
Constructor Details
-
DocumentMeta
public DocumentMeta()Creates a document meta instance.
-
-
Method Details
-
getApplicationVersion
Returns the application version.- Returns:
- the application version
-
getCreatedAt
Returns the created at.- Returns:
- the created at
-
getId
Returns the ID.- Returns:
- the ID
-
getName
Deprecated.Returns the name.- Returns:
- the name
-
getUpdatedAt
Returns the updated at.- Returns:
- the updated at
-
setApplicationVersion
Sets the application version.- Parameters:
applicationVersion- text value for application version
-
setCreatedAt
Sets the created at.- Parameters:
createdAt- created at value used by the operation
-
setId
Sets the ID.- Parameters:
id- stable id of the model element
-
setName
Deprecated.Sets the name.- Parameters:
name- name value to read, write, or display
-
setUpdatedAt
Sets the updated at.- Parameters:
updatedAt- updated at value used by the operation
-
toString
Builds a debug string for this document meta.
-