|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ail.core.Type
com.ail.core.Version
public class Version
This type represents the version details of an artifact in a live system. The version might relate to a component or entry point, or to some live data like a type definition. The version information is flexible in format (hence the use of Strings). Different types of artifact are likely to return different version attributes in different formats.
| Field Summary | |
|---|---|
static Version |
LATEST
|
| Fields inherited from class com.ail.core.Type |
|---|
jXPathContext, NOT_PERSISTED |
| Constructor Summary | |
|---|---|
Version()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAuthor()
Getter to fetch the version's author. |
java.lang.String |
getComment()
Getter to getch the comment associated with this version. |
java.lang.String |
getCopyright()
Getter to fetch the copyright message |
java.lang.String |
getDate()
Getter to fetch the version's date. |
java.lang.String |
getSource()
Getter to fetch this artifacts source. |
java.lang.String |
getState()
Getter to fetch this version's state. |
java.lang.String |
getVersion()
Getter to fetch the version number. |
void |
setAuthor(java.lang.String author)
Setter to change this version's author. |
void |
setComment(java.lang.String comment)
Setter to set the comment associated with this version. |
void |
setCopyright(java.lang.String copyright)
Setter to set the version's copyright message. |
void |
setDate(java.lang.String date)
Setter for the artifacts change date. |
void |
setSource(java.lang.String source)
Setter to change the source. |
void |
setState(java.lang.String state)
Setter to set this version's state. |
void |
setVersion(java.lang.String version)
Setter to change the version number. |
| Methods inherited from class com.ail.core.Type |
|---|
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Version LATEST
| Constructor Detail |
|---|
public Version()
| Method Detail |
|---|
public void setVersion(java.lang.String version)
version - The version number to use.public java.lang.String getVersion()
public void setSource(java.lang.String source)
source - The source name.public java.lang.String getSource()
public void setDate(java.lang.String date)
date - Change datepublic java.lang.String getDate()
public void setAuthor(java.lang.String author)
author - Authors namepublic java.lang.String getAuthor()
public void setCopyright(java.lang.String copyright)
copyright - The copyright string.public java.lang.String getCopyright()
public void setState(java.lang.String state)
state - The new state.public java.lang.String getState()
public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment - The comment string.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||