Package wt.vc
Class ControlBranch
java.lang.Object
wt.vc._ControlBranch
wt.vc.ControlBranch
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.archive._ArchiveInfoHolder,wt.fc.archive.ArchiveInfoHolder,NetFactor,ObjectMappable,Persistable,wt.federation._FederatedLinkHolder,wt.federation._RemotelyLinkable,wt.federation.FederatedLinkHolder,wt.federation.RemotelyLinkable,wt.ufid._Federatable,wt.ufid.Federatable
@GenAsPersistable(interfaces={wt.ufid.Federatable.class,wt.fc.archive.ArchiveInfoHolder.class},versions={1798435314139284440L,6514200649269465364L},properties={@GeneratedProperty(name="branchPointUfid",type=java.lang.String.class,javaDoc="Ufid of node that is branchpoint for this version",accessors=@PropertyAccessors(getAccess=PROTECTED),constraints=@PropertyConstraints(upperLimit=4000)),@GeneratedProperty(name="versionId",type=java.lang.String.class,accessors=@PropertyAccessors(getAccess=PRIVATE),constraints=@PropertyConstraints(upperLimit=60)),@GeneratedProperty(name="oneOffVersionId",type=java.lang.String.class,accessors=@PropertyAccessors(getAccess=PRIVATE),constraints=@PropertyConstraints(upperLimit=60)),@GeneratedProperty(name="viewId",type=long.class,accessors=@PropertyAccessors(getAccess=PRIVATE)),@GeneratedProperty(name="variation1",type=java.lang.String.class,accessors=@PropertyAccessors(getAccess=PRIVATE),constraints=@PropertyConstraints(upperLimit=30)),@GeneratedProperty(name="variation2",type=java.lang.String.class,accessors=@PropertyAccessors(getAccess=PRIVATE),constraints=@PropertyConstraints(upperLimit=30)),@GeneratedProperty(name="adHocStringIdentifier",type=java.lang.String.class,accessors=@PropertyAccessors(getAccess=PRIVATE),constraints=@PropertyConstraints(upperLimit=60)),@GeneratedProperty(name="wipState",type=java.lang.String.class,accessors=@PropertyAccessors(getAccess=PRIVATE),constraints=@PropertyConstraints(upperLimit=30)),@GeneratedProperty(name="sessionOwner",type=long.class,accessors=@PropertyAccessors(getAccess=PRIVATE)),@GeneratedProperty(name="masterReference",type=ObjectReference.class,constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(columnName="B")),@GeneratedProperty(name="branchPoint",type=ObjectReference.class,columnProperties=@ColumnProperties(columnName="C")),@GeneratedProperty(name="mergePoint",type=ObjectReference.class,columnProperties=@ColumnProperties(columnName="D")),@GeneratedProperty(name="adhocVersionInfo",type=wt.vc.branch.AdhocVersionInfo.class,constraints=@PropertyConstraints(upperLimit=60,required=false))},foreignKeys=@GeneratedForeignKey(foreignKeyRole=@ForeignKeyRole(name="predecessor",type=ControlBranch.class),myRole=@MyRole(name="theControlBranch",cardinality=ONE)),tableProperties=@TableProperties(compositeIndex1="predecessorReference.key.id",compositeIndex2="predecessorReference.key.id+thePersistInfo.theObjectIdentifier.id",compositeIndex3="masterReference.key.id",compositeIndex7="branchPoint.key.id",compositeIndex8="thePersistInfo.theObjectIdentifier.id + versionId",compositeUnique1="masterReference.key.id+versionId+oneOffVersionId+viewId+variation1+variation2+UPPER(adHocStringIdentifier)+WipPK.getNormalizedWipState(wipState)+sessionOwner+ABS(CASE wipState WHEN \'wrk-p\' THEN idA2A2 WHEN \'to wrk-p\' THEN idA2A2 END)"))
public final class ControlBranch
extends wt.vc._ControlBranch
Use the newControlBranch static factory method(s), not the
ControlBranch constructor, to construct instances of this
class. Instances must be constructed using the static factory(s), in
order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class wt.vc._ControlBranch
BRANCH_POINT, BRANCH_POINT_UFID, EXTERNALIZATION_VERSION_UID, MASTER_REFERENCE, MERGE_POINT, PREDECESSOR, PREDECESSOR_REFERENCEFields inherited from interface wt.fc.archive._ArchiveInfoHolder
ARCHIVE_INFOFields inherited from interface wt.ufid._Federatable
FEDERATABLE_INFOFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.fc.Persistable
IDENTITY, TYPE -
Method Summary
Modifier and TypeMethodDescriptionvoidValidate the values of this Persistable object's attributes.Methods inherited from class wt.vc._ControlBranch
equals, getAdhocVersionInfo, getArchiveInfo, getBranchPoint, getBranchPointUfid, getClassInfo, getConceptualClassname, getFederatableInfo, getMasterReference, getMergePoint, getPersistInfo, getPredecessor, getPredecessorReference, hashCode, readExternal, readExternal, readVersion, setAdhocVersionInfo, setArchiveInfo, setBranchPoint, setBranchPointUfid, setFederatableInfo, setMasterReference, setMergePoint, setPersistInfo, setPredecessor, setPredecessorReference, toString, writeExternal, writeExternal
-
Method Details
-
checkAttributes
Validate the values of this Persistable object's attributes.
Supported API: true- Throws:
InvalidAttributeException
-