org.eaglei.model
Class EIObjectProperty

java.lang.Object
  extended by org.eaglei.model.EIResource
      extended by org.eaglei.model.EIOntResource
          extended by org.eaglei.model.EIProperty
              extended by org.eaglei.model.EIObjectProperty
All Implemented Interfaces:
java.io.Serializable

public class EIObjectProperty
extends EIProperty

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.eaglei.model.EIOntResource
NO_DEFINITION
 
Constructor Summary
EIObjectProperty(EIEntity entity, EIClass rangeClass)
           
EIObjectProperty(EIEntity entity, java.util.List<EIClass> rangeClasses)
           
 
Method Summary
 java.lang.String getInverseURI()
           
 EIClass getRange()
          Deprecated. Should call getRangeList() instead.
 java.util.List<EIClass> getRangeList()
          If there are more than one range class, returns the first one.
 void setInverseURI(java.lang.String inverseURI)
           
 void setRange(EIClass rangeClass)
          This method is only here to support cache unmarshalling of this class.
 void setRange(java.util.List<EIClass> rangeClasses)
          This method is only here to support cache unmarshalling of this class.
 
Methods inherited from class org.eaglei.model.EIProperty
getAnnotations, getValueRestriction, setAnnotations, setValueRestriction
 
Methods inherited from class org.eaglei.model.EIOntResource
getDefinition, setDefinition
 
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
 

Constructor Detail

EIObjectProperty

public EIObjectProperty(EIEntity entity,
                        EIClass rangeClass)

EIObjectProperty

public EIObjectProperty(EIEntity entity,
                        java.util.List<EIClass> rangeClasses)
Method Detail

getRange

public EIClass getRange()
Deprecated. Should call getRangeList() instead.

If there are more than one range class, returns the first one.

Returns:

getRangeList

public java.util.List<EIClass> getRangeList()
If there are more than one range class, returns the first one.

Returns:

setRange

public void setRange(EIClass rangeClass)
This method is only here to support cache unmarshalling of this class. This field is logically immutable.

Parameters:
rangeClass -

setRange

public void setRange(java.util.List<EIClass> rangeClasses)
This method is only here to support cache unmarshalling of this class. This field is logically immutable.

Parameters:
rangeClasses -

setInverseURI

public void setInverseURI(java.lang.String inverseURI)

getInverseURI

public java.lang.String getInverseURI()


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