public class BranchRelationship extends TieRelationship
The BranchRelationship class is used to relate one version series to another as the result of either a Branch operation or an integrate operation. It describes the type of operation performed as well as both of the involved VersionSeries objects and the VersionDescription objects.
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME
This class name for this class.
|
static String |
CREATEDATE_ATTRIBUTE
The date and time (in GMT) of the branch operation.
|
static String |
CREATOR_ATTRIBUTE
The DirectoryUser that performed the branch operation.
|
static String |
SOURCEVERSIONDESCRIPTION_ATTRIBUTE
The VersionDescription from which this branch operation originates.
|
static String |
TARGETVERSIONDESCRIPTION_ATTRIBUTE
The VersionDescription to which this branch operation terminates.
|
LEFTOBJECT_ATTRIBUTE, NAME_ATTRIBUTE, RIGHTOBJECT_ATTRIBUTE, SORTSEQUENCE_ATTRIBUTE
ACTIVE_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTE
DOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session
Modifier | Constructor and Description |
---|---|
protected |
BranchRelationship(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Construct a BranchRelationship object - standard variant.
|
Modifier and Type | Method and Description |
---|---|
protected static BranchRelationship |
constructBranchRelationship(LibrarySession sess,
S_LibraryObjectData data)
constructBranchRelationship - FixmeJavadocMethod
|
protected static Vector |
constructBranchRelationshipVector(LibrarySession sess,
Vector vector)
constructBranchRelationshipVector - FixmeJavadocMethod
|
VersionSeries |
getChildVersionSeries()
returns the child version series in this
branch relationship
|
Date |
getCreateDate()
return date this object was created.
|
DirectoryObject |
getCreator()
return the user that created this object.
|
VersionSeries |
getParentVersionSeries()
returns the parent version series in this
branch relationship
|
VersionDescription |
getSourceVersionDescription()
returns the source version description in this
branch relationship
|
VersionDescription |
getTargetVersionDescription()
returns the target version description in this
branch relationship
|
boolean |
isOperationBranch()
returns true if the type of operation described
by this relationship is a branch.
|
boolean |
isOperationIntegrate()
returns true if the type of operation described
by this relationship is an integration.
|
protected static BranchRelationship[] |
vectorToBranchRelationshipArray(Vector vector)
returns a BranchRelationship array froma vector of BranchRelationships
|
constructRelationship, constructRelationshipVector, getLeftObject, getRightObject, getSortSequence, hasNameAttribute, vectorToRelationshipArray
addCategory, constructSystemObject, constructSystemObjectVector, free, freeCategories, getCategories, getCategories, getCategories, getCategories, getPolicyBundle, getPolicyLists, handleCreate, hasPropertyBundleAttribute, isActive, postCreate, postUpdate, preCreate, preUpdate, putPolicy, removeAllPolicies, removePolicy, removePolicy, setActive, setPolicyBundle, setPolicyLists
added, addSimpleProperty, addSimpleProperty, applyProperties, auditCreated, auditUpdated, canPurge, checkIfPropertyBundleSupported, checkRequiredAttributeSet, clearCopyContext, clearFreeContext, clearUpdateContext, compareTo, constructIdArray, constructIdArray, constructLibraryObject, constructLibraryObjectVector, createDedicatedPropertyBundle, createInstance, deriveDomainUniqueName, dispose, equals, equals, free, freeAll, get, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getAuditDomainContext, getAuditEventFolderContext, getClassId, getClassname, getClassName, getClassObject, getCommonName, getCommonNameAndClass, getCopyContext, getCreateContext, getData, getDefinition, getDefinitionForSimplePropertyUpdates, getEffectivePolicyListElements, getEventualAttributeByUpperCaseName, getFreeContext, getId, getLabel, getName, getObjectReferenceAttribute, getOperationActionSpecificationContext, getPropertyBundle, getPropertyValue, getPublicObjectAttribute, getResourceString, getResourceString, getSchemaObjectAttribute, getSession, getSessionInterface, getSharedStateFactory, getSimpleObjectAttribute, getSimpleProperties, getSimpleProperty, getSimplePropertyValue, getStringIdentifier, getSystemObjectAttribute, getTraceLogger, getUpdateContext, handleAdminModeChange, handleEvent, handleFree, handleUpdate, hashCode, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, isValidEventType, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postEvent, postEvent, postFree, preFree, prePostAuditEvent, putProperty, putProperty, removeAllProperties, removeAllSimpleProperties, removeAllSimpleProperties, removed, removeProperty, removeSimpleProperty, removeSimpleProperty, renderAsRandomAccessContent, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, setAttributes, setCopyContext, setFreeContext, setId, setName, setPropertyBundle, setPropertyValue, setUpdateContext, toString, trace, trustHandleCreate, trustHandleCreateAsAdmin, trustHandleFree, trustHandleFreeAsAdmin, trustHandleUpdate, trustHandleUpdateAsAdmin, update, updateAndExposeDefinition, validatePropertyValues, vectorLibraryObjectElement, vectorToLibraryObjectArray, verifyAdministrationMode, verifyConnected, verifyPersistent, verifySystemUserAccess, verifyTargetObject
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributeByUpperCaseName, getClassId, getId, getSessionInterface
getTraceLogger, isTraced, trace
public static final String CLASS_NAME
public static final String SOURCEVERSIONDESCRIPTION_ATTRIBUTE
public static final String TARGETVERSIONDESCRIPTION_ATTRIBUTE
public static final String CREATEDATE_ATTRIBUTE
public static final String CREATOR_ATTRIBUTE
protected BranchRelationship(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session
- current LibSessionid
- object IDclassId
- the class IDdata
- the object's dataIfsException
public boolean isOperationBranch() throws IfsException
IfsException
- if operation failspublic boolean isOperationIntegrate() throws IfsException
IfsException
- if operation failspublic VersionSeries getParentVersionSeries() throws IfsException
IfsException
- if operation failspublic VersionSeries getChildVersionSeries() throws IfsException
IfsException
- if operation failspublic VersionDescription getSourceVersionDescription() throws IfsException
IfsException
- if operation failspublic VersionDescription getTargetVersionDescription() throws IfsException
IfsException
- if operation failspublic Date getCreateDate() throws IfsException
IfsException
- if operation fails.public DirectoryObject getCreator() throws IfsException
IfsException
- if operation fails.protected static Vector constructBranchRelationshipVector(LibrarySession sess, Vector vector) throws IfsException
sess
- FixmeJavadocParamvector
- FixmeJavadocParamIfsException
- if operation fails.protected static BranchRelationship constructBranchRelationship(LibrarySession sess, S_LibraryObjectData data) throws IfsException
sess
- FixmeJavadocParamdata
- FixmeJavadocParamIfsException
- if operation fails.protected static BranchRelationship[] vectorToBranchRelationshipArray(Vector vector)
Copyright © 2023. All rights reserved.