com.ptc.windchill.esi.rnd
Class VdbElement

java.lang.Object
  extended bycom.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:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  Persistable[] dependents
           
private  Element element
           
private  Persistable persistable
           
private static String RESOURCE
           
private  Collection targets
           
 
Constructor Summary
VdbElement(Element element, Persistable persistable)
          Only constructor for the class.
 
Method Summary
 void addTarget(ESITarget target)
          Adds the argument to the targets collection.
 void addTargets(Collection targets)
          Given a collection of ESITarget objects, adds each entry to the targets collection.
 Element asElement()
          Renders the element attribute as an Info*Engine Element.
 Persistable[] getDependents()
          Gets the value of the attribute: dependents; A set of objects that the Info*Engine element depends upon.
 Element getElement()
          Gets the value of the attribute: element; The Info*Engine Element object that this object manages.
 Persistable getPersistable()
          Gets the value of the attribute: persistable; The Persistable object associated with this VdbElement.
 Collection getTargets()
          Gets the value of the attribute: targets; The ESITargets associated with this Element.
 void setDependents(Persistable[] a_Dependents)
          Sets the value of the attribute: dependents; A set of objects that the Info*Engine element depends upon.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

element

private Element element

persistable

private Persistable persistable

dependents

private Persistable[] dependents

targets

private Collection targets
Constructor Detail

VdbElement

public VdbElement(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 Detail

getElement

public 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

getDependents

public Persistable[] getDependents()
Gets the value of the attribute: dependents; A set of objects that the Info*Engine element depends upon.

Supported API: true

Returns:
Persistable[]

setDependents

public void setDependents(Persistable[] a_Dependents)
Sets the value of the attribute: dependents; A set of objects that the Info*Engine element depends upon.

Supported API: true

Parameters:
a_Dependents -

getTargets

public Collection 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 Element asElement()
Renders the element attribute as an Info*Engine Element.

Supported API: true

Returns:
Element