Package se.conciliate.extensions.store
Interface MTDataObject
- All Superinterfaces:
Comparable<MTNamedObject>
,MTNamedObject
- All Known Subinterfaces:
MTCompleteModel
,MTCompleteSwimlaneModel
,MTCompleteSymbol
,MTModel
,MTModelHeader
,MTSwimlaneModel
,MTSymbol
,MTSymbolHeader
Header interface for data objects for the moment symbols and models.
- Since:
- 3.2
-
Method Summary
Modifier and TypeMethodDescriptionReturns the date when this data object was created.Returns the last date when this data object was modified.Returns the name of the last modifier.Returns the name of the owner.Returns a short prefix used to identify this object.Returns the reference ID for this data object.getType()
Returns this objectsType
, or null if no suitable type is found.Returns the type of this data object.boolean
Returns true if the prefix has been locked and cannot be modified.boolean
Checks if the revision has been locked.boolean
Returns true if the data object's title is translated in every language.boolean
isTranslated
(MTLanguage lang) Returns true if the data object's title is marked as translated in the given language.Methods inherited from interface se.conciliate.extensions.store.MTNamedObject
compareTo, getID, getParentRevisionID, getTitle, getTitle, getUUID
-
Method Details
-
getType
Type getType()Returns this objectsType
, or null if no suitable type is found.- Returns:
- this objects
Type
, or null if no suitable type is found.
-
getPrefix
String getPrefix()Returns a short prefix used to identify this object. If used the prefix can be used for filtering/finding objects easier.- Returns:
- a short prefix used to identify this object. If used the prefix can be used for filtering/finding objects easier.
-
isPrefixLocked
boolean isPrefixLocked()Returns true if the prefix has been locked and cannot be modified.- Returns:
- true if the prefix has been locked and cannot be modified.
-
getTypeID
String getTypeID()Returns the type of this data object.- Returns:
- The data object type.
- Since:
- 3.0
-
getReferenceID
String getReferenceID()Returns the reference ID for this data object. This is the UUID of the symbol unless another reference ID has been specified.- Returns:
- The reference ID of the data object.
- Since:
- 3.0
-
isTranslated
boolean isTranslated()Returns true if the data object's title is translated in every language.- Returns:
- true if translated.
- Since:
- 3.1
-
isTranslated
Returns true if the data object's title is marked as translated in the given language. Iflang
is the current default language true is always returned.- Parameters:
lang
- the language to check for translation- Returns:
- true if translated
- Since:
- 3.1
-
getLastModified
Date getLastModified()Returns the last date when this data object was modified.- Returns:
- The data object last modified date.
- Since:
- 3.0
-
getCreated
Date getCreated()Returns the date when this data object was created.- Returns:
- The data object's creation date.
- Since:
- 3.0
-
getOwnerName
String getOwnerName()Returns the name of the owner.- Returns:
- The owners full name
- Since:
- 3.0
-
isRevisionLocked
boolean isRevisionLocked()Checks if the revision has been locked. A locked revision of an object can no longer be edited.- Returns:
true
if the revision is locked,false
otherwise.- Since:
- 3.0
-
getLastModifiedByName
String getLastModifiedByName()Returns the name of the last modifier.- Returns:
- The last modifiers full name
- Since:
- 3.0
-