Package wt.associativity
Class EquivalenceLink
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.fc._ObjectToObjectLink
wt.fc.ObjectToObjectLink
wt.associativity._EquivalenceLink
wt.associativity.EquivalenceLink
- All Implemented Interfaces:
Externalizable,Serializable,wt.associativity._EquivalenceLinkTypeInterface,wt.associativity.EquivalenceLinkTypeInterface,wt.fc._BinaryLink,wt.fc._Link,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,BinaryLink,Link,NetFactor,ObjectMappable,Persistable,_Filterable,Filterable,wt.iba.value._IBAHolder,wt.iba.value.IBAHolder,DisplayIdentification,wt.type._Typed,wt.type._TypeManaged,wt.type.FlexTyped,wt.type.Typed,wt.type.TypeManaged
@GenAsBinaryLink(superClass=ObjectToObjectLink.class,interfaces={wt.type.Typed.class,Filterable.class,wt.associativity.EquivalenceLinkTypeInterface.class},serializable=EXTERNALIZABLE_BASIC,properties={@GeneratedProperty(name="isConsumable",type=java.lang.Boolean.class,initialValue="true"),@GeneratedProperty(name="description",type=java.lang.String.class,constraints=@PropertyConstraints(upperLimit=1000)),@GeneratedProperty(name="downstreamContextRef",type=ViewReference.class),@GeneratedProperty(name="upstreamContextRef",type=ViewReference.class),@GeneratedProperty(name="equivalenceIdentifier",type=long.class,accessors=@PropertyAccessors(setAccess=PRIVATE),javaDoc="It is a unique identifier used to associate a consumption link to an equivalence link.This identifier is used to improve efficiency for searching and managing {@link ConsumptionLink} objects."),@GeneratedProperty(name="annotations",type=long.class,accessors=@PropertyAccessors(setAccess=PUBLIC),javaDoc="It is to hold additional flags on EquivalenceLink.",columnProperties=@ColumnProperties(defaultValue="0"))},roleA=@GeneratedRole(name="upstream",type=Iterated.class),roleB=@GeneratedRole(name="downstream",type=Iterated.class),tableProperties=@TableProperties(tableName="EquivalenceLink"),iconProperties=@IconProperties(standardIcon="wtcore/images/part.gif",openIcon="wtcore/images/part.gif"))
public class EquivalenceLink
extends _EquivalenceLink
Use the newEquivalenceLink static factory method(s), not
the EquivalenceLink 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._EquivalenceLink
ANNOTATIONS, DESCRIPTION, DOWNSTREAM_CONTEXT_REF, DOWNSTREAM_ROLE, EQUIVALENCE_IDENTIFIER, EXTERNALIZATION_VERSION_UID, IS_CONSUMABLE, UPSTREAM_CONTEXT_REF, 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.associativity._EquivalenceLinkTypeInterface
TYPE_INFO_EQUIVALENCE_LINKFields inherited from interface wt.filter._Filterable
FILTERED_STATUSFields inherited from interface wt.iba.value._IBAHolder
ATTRIBUTE_CONTAINERFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.type._Typed
TYPE_DEFINITION_REFERENCEFields 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 EquivalenceLinknewEquivalenceLink(ObjectReference upstreamReference, ObjectReference downstreamReference) Default factory for the class.static EquivalenceLinknewEquivalenceLink(Iterated upstream, Iterated downstream) Default factory for the class.Methods inherited from class wt.associativity._EquivalenceLink
getAnnotations, getAttributeContainer, getClassInfo, getConceptualClassname, getDescription, getDownstream, getDownstreamContextRef, getEquivalenceIdentifier, getFilteredStatus, getIsConsumable, getType, getTypeDefinitionReference, getTypeInfoEquivalenceLink, getUpstream, getUpstreamContextRef, readExternal, readExternal, readVersion, setAnnotations, setAttributeContainer, setDescription, setDownstream, setDownstreamContextRef, setFilteredStatus, setIsConsumable, setTypeDefinitionReference, setTypeInfoEquivalenceLink, setUpstream, setUpstreamContextRef, super_readExternal_EquivalenceLink, super_readVersion_EquivalenceLink, super_writeExternal_EquivalenceLink, 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
-
newEquivalenceLink
public static EquivalenceLink newEquivalenceLink(Iterated upstream, Iterated downstream) throws WTException Default factory for the class.
Supported API: true- Parameters:
upstream- Upstream iterationdownstream- Downstream iteration- Returns:
- EquivalenceLink Equivalence link created using upstream and downstream iterations
- Throws:
WTException
-
newEquivalenceLink
public static EquivalenceLink newEquivalenceLink(ObjectReference upstreamReference, ObjectReference downstreamReference) throws WTException Default factory for the class.
Supported API: true- Parameters:
upstreamReference- Upstream object referencedownstream- Downstream iteration- Returns:
- EquivalenceLink Equivalence link created using upstream and downstream object references
- Throws:
WTException
-