Package com.flower.docs.domain.component
Class Version
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.component.Component
-
- com.flower.docs.domain.component.Item
-
- com.flower.docs.domain.component.Version
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
Document
public class Version extends Item implements java.io.Serializable
Version of a component <p>Java class for Version complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="Version"> <complexContent> <extension base="{http://flower.com/docs/domain/component}Item"> <sequence> <element name="versionSeriesId" type="{http://flower.com/docs/domain/common}Id"/> </sequence> <attribute name="versionLabel" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="currentVersion" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Boolean
currentVersion
Determines if it is the current versionprotected java.lang.String
versionLabel
Label of the version which changes each time a new version is createdprotected Id
versionSeriesId
Identifier of version series-
Fields inherited from class com.flower.docs.domain.common.IdentifiableElement
id
-
-
Constructor Summary
Constructors Constructor Description Version()
Default no-arg constructor abcVersion(Id id, ComponentData data, Tags tags, Category category, java.lang.String name, Id versionSeriesId, java.lang.String versionLabel, java.lang.Boolean currentVersion)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.lang.String
getVersionLabel()
Gets the value of the versionLabel property.Id
getVersionSeriesId()
Gets the value of the versionSeriesId property.int
hashCode()
boolean
isCurrentVersion()
Gets the value of the currentVersion property.void
setCurrentVersion(java.lang.Boolean value)
Sets the value of the currentVersion property.void
setVersionLabel(java.lang.String value)
Sets the value of the versionLabel property.void
setVersionSeriesId(Id value)
Sets the value of the versionSeriesId property.java.lang.String
toString()
-
Methods inherited from class com.flower.docs.domain.component.Component
getCategory, getData, getName, getTags, setCategory, setData, setName, setTags
-
Methods inherited from class com.flower.docs.domain.common.IdentifiableElement
getId, setId
-
-
-
-
Field Detail
-
versionSeriesId
protected Id versionSeriesId
Identifier of version series
-
versionLabel
protected java.lang.String versionLabel
Label of the version which changes each time a new version is created
-
currentVersion
protected java.lang.Boolean currentVersion
Determines if it is the current version
-
-
Constructor Detail
-
Version
public Version()
Default no-arg constructor abc
-
Version
public Version(Id id, ComponentData data, Tags tags, Category category, java.lang.String name, Id versionSeriesId, java.lang.String versionLabel, java.lang.Boolean currentVersion)
Fully-initialising value constructor
-
-
Method Detail
-
getVersionSeriesId
public Id getVersionSeriesId()
Gets the value of the versionSeriesId property. <p> Identifier of version series- Returns:
- possible object is
Id
-
setVersionSeriesId
public void setVersionSeriesId(Id value)
Sets the value of the versionSeriesId property.- Parameters:
value
- allowed object isId
- See Also:
getVersionSeriesId()
-
getVersionLabel
public java.lang.String getVersionLabel()
Gets the value of the versionLabel property. <p> Label of the version which changes each time a new version is created- Returns:
- possible object is
String
-
setVersionLabel
public void setVersionLabel(java.lang.String value)
Sets the value of the versionLabel property.- Parameters:
value
- allowed object isString
- See Also:
getVersionLabel()
-
isCurrentVersion
public boolean isCurrentVersion()
Gets the value of the currentVersion property. <p> Determines if it is the current version- Returns:
- possible object is
Boolean
-
setCurrentVersion
public void setCurrentVersion(java.lang.Boolean value)
Sets the value of the currentVersion property.- Parameters:
value
- allowed object isBoolean
- See Also:
isCurrentVersion()
-
-