Class UsagePathLink

java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.associativity._UsagePathLink
wt.associativity.UsagePathLink
All Implemented Interfaces:
Externalizable, Serializable, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, NetFactor, ObjectMappable, Persistable, DisplayIdentification

@GenAsPersistable(superClass=WTObject.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 UsagePathlink.",columnProperties=@ColumnProperties(index=true)),@GeneratedProperty(name="annotations",type=long.class,accessors=@PropertyAccessors(setAccess=PRIVATE),javaDoc="It is to hold additional flags on UsagePathLink.",columnProperties=@ColumnProperties(defaultValue="0"))},foreignKeys={@GeneratedForeignKey(myRoleIsRoleA=false,foreignKeyRole=@ForeignKeyRole(name="upstreamPath",type=UsagePath.class,constraints=@PropertyConstraints(required=true)),myRole=@MyRole(name="theUsagePathLink",cardinality=ONE,cascade=true)),@GeneratedForeignKey(myRoleIsRoleA=false,foreignKeyRole=@ForeignKeyRole(name="downstreamPath",type=UsagePath.class,constraints=@PropertyConstraints(required=true)),myRole=@MyRole(name="theUsagePathLink",cardinality=ONE,cascade=true))},tableProperties=@TableProperties(tableName="UsagePathLink")) public class UsagePathLink extends wt.associativity._UsagePathLink

Use the newUsagePathlink static factory method(s), not the UsagePathlink 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

    • newUsagePathLink

      public static UsagePathLink newUsagePathLink(UsagePath upstreamPath, UsagePath downstreamPath, EquivalenceLink equivalenceLink) throws WTException, WTPropertyVetoException
      Default factory for the class.

      Supported API: true
      Parameters:
      upstreamPath - PartUsagePath
      downstreamPath - PartUsagePath
      equivalenceLink - EquivalenceLink in common equivalence context
      Returns:
      UsagePathLink created
      Throws:
      WTException
      WTPropertyVetoException
    • addAnnotation

      public void addAnnotation(UsagePathLinkAnnotation annotation)
      Adds an annotation

      Supported API: true
    • removeAnnotation

      public void removeAnnotation(UsagePathLinkAnnotation annotation)
      Adds an annotation

      Supported API: true
    • hasAnnotation

      public boolean hasAnnotation(UsagePathLinkAnnotation annotation)
      Adds an annotation

      Supported API: true
      Returns:
    • resetAnnotations

      public void resetAnnotations()
      Adds an annotation

      Supported API: true