Package wt.associativity
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 Summary
Modifier and TypeMethodDescriptionvoidaddAnnotation(UsagePathLinkAnnotation annotation) Adds an annotation
Supported API: truebooleanhasAnnotation(UsagePathLinkAnnotation annotation) Adds an annotation
Supported API: truestatic UsagePathLinknewUsagePathLink(UsagePath upstreamPath, UsagePath downstreamPath, EquivalenceLink equivalenceLink) Default factory for the class.voidremoveAnnotation(UsagePathLinkAnnotation annotation) Adds an annotation
Supported API: truevoidAdds an annotation
Supported API: trueMethods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayType
-
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- PartUsagePathdownstreamPath- PartUsagePathequivalenceLink- EquivalenceLink in common equivalence context- Returns:
- UsagePathLink created
- Throws:
WTExceptionWTPropertyVetoException
-
addAnnotation
Adds an annotation
Supported API: true -
removeAnnotation
Adds an annotation
Supported API: true -
hasAnnotation
Adds an annotation
Supported API: true- Returns:
-
resetAnnotations
public void resetAnnotations()Adds an annotation
Supported API: true
-