Class SchemaNode

java.lang.Object
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:
  • Constructor Details

    • SchemaNode

      public SchemaNode()
      Constructs a new SchemaNode.

      Supported API: true
  • Method Details

    • 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.