org.eaglei.model
Class EIOntResource

java.lang.Object
  extended by org.eaglei.model.EIResource
      extended by org.eaglei.model.EIOntResource
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EIClass, EIProperty

public abstract class EIOntResource
extends EIResource
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static java.lang.String NO_DEFINITION
           
 
Constructor Summary
protected EIOntResource()
           
protected EIOntResource(EIEntity entity)
           
 
Method Summary
 java.lang.String getDefinition()
          A class definition string.
 void setDefinition(java.lang.String definition)
          Sets a definition string for this class.
 
Methods inherited from class org.eaglei.model.EIResource
equals, getEntity, hashCode, setLabel, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_DEFINITION

public static final java.lang.String NO_DEFINITION
See Also:
Constant Field Values
Constructor Detail

EIOntResource

protected EIOntResource()

EIOntResource

protected EIOntResource(EIEntity entity)
Method Detail

getDefinition

public java.lang.String getDefinition()
A class definition string. Null if a definition has not yet been set. Non-null if setDefintion() has been called. Note that if a class has no definition string available in the ontology, this field will be set to NO_DEFINITION.

Returns:

setDefinition

public void setDefinition(java.lang.String definition)
Sets a definition string for this class. Must not be null. If no definition is available, set this field to NO_DEFINITION.

Parameters:
definition -


Copyright © 2009-2010 Eagle-I. All Rights Reserved.