org.eclipse.higgins.sts.common
Class Element

java.lang.Object
  extended byorg.eclipse.higgins.sts.common.Element
All Implemented Interfaces:
org.eclipse.higgins.sts.api.IElement, org.eclipse.higgins.sts.api.IObjectContainer

public class Element
extends Object
implements org.eclipse.higgins.sts.api.IElement

Author:
mikemci at us dot ibm dot com

Constructor Summary
Element()
           
 
Method Summary
 Object get()
           
 Object getAs(Class classElement)
           
 Class getObjectClass()
          Gets the Class of the contained element object
 List getSupportedClasses()
          Gets the List of the element Classes supported by the underlying implementation
 void set(Object objectElement)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Element

public Element()
Method Detail

getObjectClass

public 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 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 Object get()
Specified by:
get in interface org.eclipse.higgins.sts.api.IObjectContainer

getAs

public Object getAs(Class classElement)
             throws Exception
Specified by:
getAs in interface org.eclipse.higgins.sts.api.IObjectContainer
Throws:
Exception

set

public void set(Object objectElement)
         throws Exception
Specified by:
set in interface org.eclipse.higgins.sts.api.IObjectContainer
Throws:
Exception