API Documentation > Interfaces > Interface Element
Interface Element

package com.ptc.wfc.wfcElementTree;

public interface
Element
extends
jxobject


Description
Method Summary
/*optional*/ Elements
Get method for attribute "Children"
An array of child elements.
/*optional*/ Integer
Get method for attribute "Decimals"
/*optional*/ ElementDiagnostics
Get method for attribute "Diagnostics"
A list of the element diagnostics for the element.
/*optional*/ Ray
Get method for attribute "Direction"
Direction specified by the element.
/*optional*/ Collection
Get method for attribute "ElemCollection"
TheCollection object.
int
Get method for attribute "Id"
Identifier of the Element.
String
Get method for attribute "IdAsString"
String representation of element Id.
boolean
Get method for attribute "IsArray"
Determines whether the specified element contains an array of elements.
boolean
Get method for attribute "IsCompound"
Determines whether the specified element is compound.
boolean
Get method for attribute "IsMultival"
Determines whether the specified element is multivalued.
int
Get method for attribute "Level"
The level at which the element is located in the element tree with respect to the root element.
/*optional*/ Selections
Get method for attribute "Selections"
/*optional*/ SpecialValue
Get method for attribute "SpecialValueElem"
The special value element.
/*optional*/ ArgValue
Get method for attribute "Value"
Value of the element.
/*optional*/ String
Get method for attribute "ValueAsString"
String representation of value of double and integer elements. You must set compatible options usingElementWstringOption object
void
SetDecimals ( /*optional*/ Integer value)
Set method for attribute "Decimals"
void
SetElemCollection ( /*optional*/ Collection value)
Set method for attribute "ElemCollection"
TheCollection object.
void
SetId (int value)
Set method for attribute "Id"
Identifier of the Element.
void
SetLevel (int value)
Set method for attribute "Level"
The level at which the element is located in the element tree with respect to the root element.
void
SetSelections ( /*optional*/ Selections value)
Set method for attribute "Selections"
void
SetSpecialValueElem ( /*optional*/ SpecialValue value)
Set method for attribute "SpecialValueElem"
The special value element.
void
SetValue ( /*optional*/ ArgValue value)
Set method for attribute "Value"
Value of the element.
void
SetValueAsString ( /*optional*/ String value)
Set method for attribute "ValueAsString"
String representation of value of double and integer elements. You must set compatible options usingElementWstringOption object
Method Detail
GetValue
/*optional*/ ArgValue
GetValue
()
SetValue
void
SetValue
( /*optional*/ ArgValue value)
Value of the element.
User Guide References:
GetId
int
GetId
()
SetId
void
SetId
(int value)
Identifier of the Element.
User Guide References:
GetLevel
int
GetLevel
()
SetLevel
void
SetLevel
(int value)
The level at which the element is located in the element tree with respect to the root element.
User Guide References:
GetDecimals
/*optional*/ Integer
GetDecimals
()
SetDecimals
void
SetDecimals
( /*optional*/ Integer value)
User Guide References:
GetSpecialValueElem
/*optional*/ SpecialValue
GetSpecialValueElem
()
SetSpecialValueElem
void
SetSpecialValueElem
( /*optional*/ SpecialValue value)
The special value element.
User Guide References:
GetElemCollection
/*optional*/ Collection
GetElemCollection
()
SetElemCollection
void
SetElemCollection
( /*optional*/ Collection value)
The Collection object.
This will be populated only if the element is a collection.
User Guide References:
GetSelections
/*optional*/ Selections
GetSelections
()
SetSelections
void
SetSelections
( /*optional*/ Selections value)
GetDiagnostics
/*optional*/ ElementDiagnostics
GetDiagnostics
()
A list of the element diagnostics for the element.
These contain warnings and errors regarding the value of the element, within the context of the feature and remainder of the element tree.
User Guide References:
GetValueAsString
/*optional*/ String
GetValueAsString
()
SetValueAsString
void
SetValueAsString
( /*optional*/ String value)
String representation of value of double and integer elements. You must set compatible options using ElementWstringOption object
User Guide References:
GetIdAsString
String
GetIdAsString
()
String representation of element Id.
User Guide References:
GetIsArray
boolean
GetIsArray
()
Determines whether the specified element contains an array of elements.
User Guide References:
GetIsCompound
boolean
GetIsCompound
()
Determines whether the specified element is compound.
User Guide References:
GetIsMultival
boolean
GetIsMultival
()
Determines whether the specified element is multivalued.
User Guide References:
GetChildren
/*optional*/ Elements
GetChildren
()
An array of child elements.
This will be populated only if the element is a compound element or an array.
User Guide References:
GetDirection
/*optional*/ Ray
GetDirection
()
Direction specified by the element.
This will be populated only if the element is a PRO_E_DIRECTION_COMPOUND element.
Was this helpful?