Package wt.fc

Interface WTReference

All Superinterfaces:
wt.fc._NetFactor, wt.fc._ObjectMappable, _WTReference, NetFactor, ObjectMappable, Serializable
All Known Implementing Classes:
wt.admin._AdminDomainRef, wt.folder._CabinetReference, wt.fc._CachedObjectReference, wt.effectivity._ConfigurationItemReference, wt.inf.team._ContainerTeamReference, _DataOccurrenceReference, wt.epm._EPMAuthAppVersionRef, wt.lifecycle._LifeCycleTemplateMasterReference, wt.lifecycle._LifeCycleTemplateReference, _ObjectReference, wt.facade.persistedcollection._PersistedCollectionReference, wt.team._TeamReference, wt.team._TeamTemplateReference, _UsesOccurrenceReference, _VersionReference, wt.vc.views._ViewReference, wt.inf.container._WTContainerRef, wt.inf.container._WTContainerTemplateRef, wt.org._WTPrincipalReference, AdminDomainRef, CabinetReference, CachedObjectReference, ConfigurationItemReference, ContainerTeamReference, DataOccurrenceReference, EPMAuthAppVersionRef, LifeCycleTemplateMasterReference, LifeCycleTemplateReference, ObjectReference, PersistedCollectionReference, TeamReference, TeamTemplateReference, UsesOccurrenceReference, VersionReference, ViewReference, WTContainerRef, WTContainerTemplateRef, WTPrincipalReference

Interface that defines the basic notion of holding a reference to a Persistable object, it's target object. The form of the reference is defined via a QueryKey.

Supported API: true

Extendable: true
  • Method Details

    • getObject

      Persistable getObject() throws WTRuntimeException
      Gets the object for the association that plays role: OBJECT.

      Supported API: true
      Specified by:
      getObject in interface _WTReference
      Returns:
      Persistable
      Throws:
      WTRuntimeException
      See Also:
    • equals

      boolean equals(Object obj)
      Tests if two references refer to the same object.

      Supported API: true
      Overrides:
      equals in class Object
      Parameters:
      obj -
      Returns:
      true if both references refer to the same object, otherwise false.
    • hashCode

      int hashCode()


      Supported API: true
      Overrides:
      hashCode in class Object
      Returns:
      int
    • refresh

      void refresh() throws WTException
      Retreives the referenced object from the database

      Supported API: true
      Throws:
      WTException
    • references

      boolean references(Persistable obj)
      Tests if this reference refers to the Persistable object passed in.

      Supported API: true
      Parameters:
      obj -
      Returns:
      true if this reference refers to the Persistable object passed in, otherwise false.
    • getReferencedClass

      Class getReferencedClass()
      Returns the class that this reference refers to. This method does not retreive the referenced object from the database.

      Supported API: true
      Returns:
      Class