Interface Release
-
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
ReleaseImpl
public interface Release extends org.eclipse.emf.ecore.EObject
A representation of the model object 'Release'. A container to collect a sequence of changes until a releaseThe following features are supported:
- See Also:
HistoryPackage.getRelease()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.common.util.EList<Change>
getChanges()
Returns the value of the 'Changes' containment reference list.Date
getDate()
Returns the value of the 'Date' attribute.History
getHistory()
Returns the value of the 'History' container reference.String
getLabel()
Returns the value of the 'Label' attribute.Release
getNextRelease()
int
getNumber()
Helper method to get the number of the releaseRelease
getPreviousRelease()
boolean
isFirstRelease()
boolean
isLastRelease()
boolean
isLatestRelease()
void
setDate(Date value)
Sets the value of the 'Date
' attribute.void
setHistory(History value)
Sets the value of the 'History
' container reference.void
setLabel(String value)
Sets the value of the 'Label
' attribute.
-
-
-
Method Detail
-
getNumber
int getNumber()
Helper method to get the number of the release
-
isLatestRelease
boolean isLatestRelease()
-
getDate
Date getDate()
Returns the value of the 'Date' attribute. The date when the version is released- Returns:
- the value of the 'Date' attribute.
- See Also:
setDate(Date)
,HistoryPackage.getRelease_Date()
-
setDate
void setDate(Date value)
Sets the value of the 'Date
' attribute.- Parameters:
value
- the new value of the 'Date' attribute.- See Also:
getDate()
-
getChanges
org.eclipse.emf.common.util.EList<Change> getChanges()
Returns the value of the 'Changes' containment reference list. The list contents are of typeChange
. The sequence of changes which lead to a release- Returns:
- the value of the 'Changes' containment reference list.
- See Also:
HistoryPackage.getRelease_Changes()
-
getHistory
History getHistory()
Returns the value of the 'History' container reference. It is bidirectional and its opposite is 'Releases
'.If the meaning of the 'History' container reference isn't clear, there really should be more of a description here...
History to which the release belongs- Returns:
- the value of the 'History' container reference.
- See Also:
setHistory(History)
,HistoryPackage.getRelease_History()
,History.getReleases()
-
setHistory
void setHistory(History value)
Sets the value of the 'History
' container reference.- Parameters:
value
- the new value of the 'History' container reference.- See Also:
getHistory()
-
getLabel
String getLabel()
Returns the value of the 'Label' attribute.If the meaning of the 'Label' attribute isn't clear, there really should be more of a description here...
Label to tag the release- Returns:
- the value of the 'Label' attribute.
- See Also:
setLabel(String)
,HistoryPackage.getRelease_Label()
-
setLabel
void setLabel(String value)
Sets the value of the 'Label
' attribute.- Parameters:
value
- the new value of the 'Label' attribute.- See Also:
getLabel()
-
getNextRelease
Release getNextRelease()
If the meaning of the 'Next Release' reference isn't clear, there really should be more of a description here...
Helper method to determine the release which succeeds this release
-
getPreviousRelease
Release getPreviousRelease()
If the meaning of the 'Previous Release' reference isn't clear, there really should be more of a description here...
Helper method to determine the release that preceeds this release
-
isFirstRelease
boolean isFirstRelease()
If the meaning of the 'First Release' attribute isn't clear, there really should be more of a description here...
Helper method to determine whether the release is the first one in the history
-
isLastRelease
boolean isLastRelease()
If the meaning of the 'Last Release' attribute isn't clear, there really should be more of a description here...
Helper method to determine whether the release is the last one in the history
-
-