Package wt.associativity
Class ConsumptionLink
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.fc._ObjectToObjectLink
wt.fc.ObjectToObjectLink
wt.associativity._ConsumptionLink
wt.associativity.ConsumptionLink
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._BinaryLink,wt.fc._Link,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,BinaryLink,Link,NetFactor,ObjectMappable,Persistable,DisplayIdentification
@GenAsBinaryLink(superClass=ObjectToObjectLink.class,
serializable=EXTERNALIZABLE_BASIC,
properties=@GeneratedProperty(name="equivalenceIdentifier",type=long.class,javaDoc="It is a unique identifier which contains the Equivalence Identifier of the Common Equivalence Context used in creation of the ConsumptionLink.",columnProperties=@ColumnProperties(index=true)),
roleA=@GeneratedRole(name="upstream",type=PathOccurrence.class,cardinality=ONE),
roleB=@GeneratedRole(name="downstream",type=PathOccurrence.class,cardinality=ONE),
tableProperties=@TableProperties(tableName="ConsumptionLink"),
iconProperties=@IconProperties(standardIcon="wtcore/images/part.gif",openIcon="wtcore/images/part.gif"))
public class ConsumptionLink
extends wt.associativity._ConsumptionLink
Use the newConsumptionLink static factory method(s), not
the ConsumptionLink 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.associativity._ConsumptionLink
DOWNSTREAM_ROLE, EQUIVALENCE_IDENTIFIER, EXTERNALIZATION_VERSION_UID, UPSTREAM_ROLEFields inherited from class wt.fc._ObjectToObjectLink
ROLE_AOBJECT_REF, ROLE_BOBJECT_REFFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.fc._BinaryLink
ROLE_AOBJECT_ROLE, ROLE_BOBJECT_ROLEFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.fc.BinaryLink
ALL_ROLES, BOTH_ROLESFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPE -
Method Summary
Modifier and TypeMethodDescriptionstatic ConsumptionLinknewConsumptionLink(PathOccurrence upstream, PathOccurrence downstream) Default factory for the class.Methods inherited from class wt.associativity._ConsumptionLink
getClassInfo, getConceptualClassname, getDownstream, getEquivalenceIdentifier, getType, getUpstream, readExternal, readExternal, readVersion, setDownstream, setEquivalenceIdentifier, setUpstream, super_readExternal_ConsumptionLink, super_readVersion_ConsumptionLink, super_writeExternal_ConsumptionLink, writeExternal, writeExternalMethods inherited from class wt.fc.ObjectToObjectLink
appendJoinCriteria, appendRoleCriteria, duplicate, getAllObjects, getJoinValues, getLinkInfo, getObject, getOtherObject, getRemoteRoleAObjectId, getRemoteRoleBObjectId, getRole, getRoleAObject, getRoleAObjectId, getRoleBObject, getRoleBObjectId, getRoleIdName, getRoleObject, initialize, isRoleANonpersistentProxy, isRoleBNonpersistentProxy, setRoleAObject, setRoleAObjectRef, setRoleBObject, setRoleBObjectRef, setRoleObjectMethods inherited from class wt.fc._ObjectToObjectLink
getRoleAObjectRef, getRoleBObjectRef, readVersion, super_readExternal_ObjectToObjectLink, super_readVersion_ObjectToObjectLink, super_writeExternal_ObjectToObjectLinkMethods inherited from class wt.fc.WTObject
checkAttributes, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, initialize, toStringMethods inherited from class wt.fc._WTObject
equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity
-
Method Details
-
newConsumptionLink
public static ConsumptionLink newConsumptionLink(PathOccurrence upstream, PathOccurrence downstream) throws WTException Default factory for the class.
Supported API: true- Parameters:
upstream- Upstream patch occurrencedownstream- Downstream path occurrence- Returns:
- ConsumptionLink Consumption link created using upstream and downstream patch occurrence
- Throws:
WTException
-