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:
-
Field Summary
Fields inherited from class wt.associativity._UsagePathLink
ANNOTATIONS, DOWNSTREAM_PATH, DOWNSTREAM_PATH_REFERENCE, EQUIVALENCE_IDENTIFIER, EXTERNALIZATION_VERSION_UID, UPSTREAM_PATH, UPSTREAM_PATH_REFERENCEFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPE -
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.associativity._UsagePathLink
getAnnotations, getClassInfo, getConceptualClassname, getDownstreamPath, getDownstreamPathReference, getEquivalenceIdentifier, getType, getUpstreamPath, getUpstreamPathReference, readExternal, readExternal, readVersion, setDownstreamPath, setDownstreamPathReference, setEquivalenceIdentifier, setUpstreamPath, setUpstreamPathReference, super_readExternal_UsagePathLink, super_readVersion_UsagePathLink, super_writeExternal_UsagePathLink, writeExternal, writeExternalMethods inherited from class wt.fc.WTObject
checkAttributes, duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, initializeMethods inherited from class wt.fc._WTObject
equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfo
-
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
-