|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ifs.beans.LibraryObjectDefinition | +--oracle.ifs.beans.PublicObjectDefinition | +--oracle.ifs.beans.VersionDescriptionDefinition
The VersionDescriptionDefinition class is used to construct a VersionDescription object. The default class for this definition is VERSIONDESCRIPTION.
VersionDescriptionsDefinitions are used for almost (if not all) versioning operations, for example, Branching.
VersionSeriesDefinition
,
FamilyDefinition
Constructor Summary | |
VersionDescriptionDefinition(LibrarySession session)
Constructs a VersionDescriptionDefinition explicitly capturing the session. |
Method Summary | |
boolean |
getNewVersionBasedOn()
Returns the value of the NewVersionBasedOn flag. |
PublicObject |
getPublicObject()
Returns the previously specified PublicObject, or null if no value was specified. |
PublicObjectDefinition |
getPublicObjectDefinition()
Get the PublicObject definition for the new VersionDescription. |
VersionSeriesDefinition |
getVersionSeriesDefinition()
Returns the VersionSeries definition, or null if none specified. |
void |
setNewVersionBasedOn(boolean basedOn)
This option specifies whether new Versions are based on the old Versions (true), or does this definition completely describe the new Version (false). |
void |
setPublicObject(PublicObject po)
Set the Version Description definition to reference an exiting PublicObject. |
void |
setPublicObjectDefinition(PublicObjectDefinition def)
Set the Public Object definition for the new Version. |
void |
setVersionSeriesDefinition(VersionSeriesDefinition def)
Set the Version Series definition for the new PublicObject. |
Methods inherited from class oracle.ifs.beans.LibraryObjectDefinition |
clone, getAttribute, getAttributes, getClassObject, getOption, getOptionKeys, removeAttribute, removeOption, setAttribute, setAttribute, setAttributeByUpperCaseName, setAttributes, setClassObject, setOption |
Constructor Detail |
public VersionDescriptionDefinition(LibrarySession session) throws IfsException
session
- the sessionIfsException
- if the operation failsMethod Detail |
public void setNewVersionBasedOn(boolean basedOn) throws IfsException
basedOn
- true if new version should be based on previous version, false otherwise.IfsException
- if operation fails.public boolean getNewVersionBasedOn() throws IfsException
IfsException
- if the operation failspublic void setVersionSeriesDefinition(VersionSeriesDefinition def) throws IfsException
def
- the Version Series definition for the new object.IfsException
- if operation fails.public VersionSeriesDefinition getVersionSeriesDefinition() throws IfsException
IfsException
- if the operation failspublic void setPublicObjectDefinition(PublicObjectDefinition def) throws IfsException
def
- the PublicObject definition for the new versioned object.IfsException
- if operation fails.public PublicObjectDefinition getPublicObjectDefinition() throws IfsException
IfsException
- if the operation failspublic void setPublicObject(PublicObject po) throws IfsException
po
- the existing PublicObject which this new version description will reference.IfsException
- if operation fails.public PublicObject getPublicObject() throws IfsException
IfsException
- if the operation fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |