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:
  • 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 occurrence
      downstream - Downstream path occurrence
      Returns:
      ConsumptionLink Consumption link created using upstream and downstream patch occurrence
      Throws:
      WTException