com.ptc.windchill.ws
Class SchemaNode

java.lang.Object
  extended by com.ptc.windchill.ws.SchemaNode
All Implemented Interfaces:
Serializable

public class SchemaNode
extends Object
implements Serializable

The SchemaNode class is a bean class that defines and identifies a single business object type supported by a Windchill server. It provides the name of the business object type (i.e., its type identifier), and it also lists the immediate supertypes (i.e., actual supertype and directly implemented interfaces) of the type.

Supported API: true

Extendable: false

See Also:
TypeDescription, Serialized Form

Constructor Summary
SchemaNode()
          Constructs a new SchemaNode.
 
Method Summary
 String[] getAncestors()
          Returns a list of ancestor's names.
 String getAncestors(int i)
          Returns an ancestor's name by index.
 String getName()
          Returns the name of this SchemaNode.
 void setAncestors(int i, String ancestor)
          Sets an ancestor's name by index.
 void setAncestors(String[] ancestors)
          Sets the list of ancestor's names.
 void setName(String name)
          Sets the name of this SchemaNode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaNode

public SchemaNode()
Constructs a new SchemaNode.

Supported API: true

Method Detail

getName

public String getName()
Returns the name of this SchemaNode.

Supported API: true


setName

public void setName(String name)
Sets the name of this SchemaNode.

Supported API: true


getAncestors

public String[] getAncestors()
Returns a list of ancestor's names.

Supported API: true

Returns:
The list of ancestor's names.

setAncestors

public void setAncestors(String[] ancestors)
Sets the list of ancestor's names.

Supported API: true

Parameters:
ancestors - The new ancestors.

getAncestors

public String getAncestors(int i)
Returns an ancestor's name by index.

Supported API: true

Parameters:
i - The index.
Returns:
The ancestor name at index i.

setAncestors

public void setAncestors(int i,
                         String ancestor)
Sets an ancestor's name by index.

Supported API: true

Parameters:
i - The index.
ancestor - The ancestor name.