org.eclipse.higgins.sts.common
Class Element
java.lang.Object
org.eclipse.higgins.sts.common.Element
- All Implemented Interfaces:
- org.eclipse.higgins.sts.api.IElement, org.eclipse.higgins.sts.api.IObjectContainer
- public class Element
- extends java.lang.Object
- implements org.eclipse.higgins.sts.api.IElement
- Author:
- mikemci at us dot ibm dot com
|
Method Summary |
java.lang.Object |
get()
|
java.lang.Object |
getAs(java.lang.Class classElement)
|
java.lang.Class |
getObjectClass()
Gets the Class of the contained element object |
java.util.List |
getSupportedClasses()
Gets the List of the element Classes supported by the underlying implementation |
void |
set(java.lang.Object objectElement)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Element
public Element()
getObjectClass
public java.lang.Class getObjectClass()
- Gets the Class of the contained element object
- Specified by:
getObjectClass in interface org.eclipse.higgins.sts.api.IObjectContainer
- See Also:
IObjectContainer.getObjectClass()
getSupportedClasses
public java.util.List getSupportedClasses()
- Gets the List of the element Classes supported by the underlying implementation
- Specified by:
getSupportedClasses in interface org.eclipse.higgins.sts.api.IObjectContainer
- See Also:
IObjectContainer.getSupportedClasses()
get
public java.lang.Object get()
- Specified by:
get in interface org.eclipse.higgins.sts.api.IObjectContainer
getAs
public java.lang.Object getAs(java.lang.Class classElement)
throws java.lang.Exception
- Specified by:
getAs in interface org.eclipse.higgins.sts.api.IObjectContainer
- Throws:
java.lang.Exception
set
public void set(java.lang.Object objectElement)
throws java.lang.Exception
- Specified by:
set in interface org.eclipse.higgins.sts.api.IObjectContainer
- Throws:
java.lang.Exception