Class VdbElement

java.lang.Object
com.ptc.windchill.esi.rnd.VdbElement
All Implemented Interfaces:
Serializable

public final class VdbElement extends Object implements Serializable
Manages the contents of an Info*Engine Element.

Supported API: true

Extendable: false
See Also:
  • Constructor Details

    • VdbElement

      public VdbElement(com.infoengine.object.factory.Element element, Persistable persistable)
      Only constructor for the class. Insures that the object always contains an Info*Engine element and an optional persistable object.

      Supported API: true
      Parameters:
      element - The Info*Engine Element that this element manages.
      persistable - A Persistable object that may be supplied. Used to determine the objectID attribute of the I*E Element.
  • Method Details

    • getElement

      public com.infoengine.object.factory.Element getElement()
      Gets the value of the attribute: element; The Info*Engine Element object that this object manages.

      Supported API: true
      Returns:
      Element
    • getPersistable

      public Persistable getPersistable()
      Gets the value of the attribute: persistable; The Persistable object associated with this VdbElement.

      Supported API: true
      Returns:
      Persistable
    • getTargets

      public Collection<ESITarget> getTargets()
      Gets the value of the attribute: targets; The ESITargets associated with this Element.

      Supported API: true
      Returns:
      Collection
    • addTarget

      public void addTarget(ESITarget target)
      Adds the argument to the targets collection.

      Supported API: true
      Parameters:
      target - The ESITarget to be added to the targets collection.
    • addTargets

      public void addTargets(Collection targets)
      Given a collection of ESITarget objects, adds each entry to the targets collection.

      Supported API: true
      Parameters:
      targets - A collection of ESITarget objects.
    • asElement

      public com.infoengine.object.factory.Element asElement()
      Renders the element attribute as an Info*Engine Element.

      Supported API: true
      Returns:
      Element
    • getDependentSnapshotsToCreate

      public Map<MPMPartMgmtLink,String> getDependentSnapshotsToCreate()
      Gets the value to the attribute: linksToSnapshot; A set of objects that the Info*Engine element depends upon.

      Supported API: true
    • setDependentSnapshotsToCreate

      public void setDependentSnapshotsToCreate(Map<MPMPartMgmtLink,String> linksToSnapshot)
      Adds the value to the attribute: linksToSnapshot; A set of objects that the Info*Engine element depends upon.

      Supported API: true
      Parameters:
      linksToSnapshot - - The dependent object for which an ESIReleasedObjectSnapshot is to be created.
    • getDependentsInfos

      public Map<Persistable,Optional<String>> getDependentsInfos()
      Gets the value of the attribute: dependentsInfo; A set of objects that the Info*Engine element depends upon.

      Supported API: true
      Returns:
      - The map containing dependent objects as key and value containing optional String.
    • setDependentsInfos

      public void setDependentsInfos(Map<Persistable,Optional<String>> dependentsInfo)
      Sets the value of the attribute: dependentsInfo; A set of objects that the Info*Engine element depends upon with release class value.

      Supported API: true
      Parameters:
      dependentsInfo - - The map containing dependent persistable object with optional release class value.
    • addDependents

      public void addDependents(Persistable a_Dependents, Optional<String> optionalReleaseClass)
      Adds the value to the attribute: dependents; A set of objects that the Info*Engine element depends upon.

      Supported API: true
      Parameters:
      a_Dependents - - The dependent object
      optionalReleaseClass - - The release class name that dependent needs. Optional