org.eaglei.search.events
Class ChangeEventPayloadItemImpl

java.lang.Object
  extended by org.eaglei.search.events.ChangeEventPayloadItemImpl
All Implemented Interfaces:
ChangeEventPayloadItem

public class ChangeEventPayloadItemImpl
extends java.lang.Object
implements ChangeEventPayloadItem

Container class for change event payload items (SearchResult for now).

Author:
Rich Simon

Constructor Summary
ChangeEventPayloadItemImpl(SearchResult s)
           
 
Method Summary
 java.util.Set<org.eaglei.model.EIURI> getDataTypeProperties()
          Returns the URIs (as EIURI instances) for the result data type properties.
 java.util.Set<java.lang.String> getDataTypeProperty(org.eaglei.model.EIURI eiuri)
          Retrieves the values of the specified data type property.
 org.eaglei.model.EIEntity getEntity()
          Retrieves the EIEntity representing the resource instance.
 org.eaglei.model.EIEntity getInstitution()
          Retrieves the EIEntity representing the resource institution.
 java.util.Set<org.eaglei.model.EIURI> getObjectProperties()
          Returns the URIs (as EIURI instances) for the result object properties.
 java.util.Set<org.eaglei.model.EIURI> getObjectProperty(org.eaglei.model.EIURI eiuri)
          Retrieves the values of the specified object property.
 org.eaglei.model.EIEntity getType()
          Retrieves the EIEntity representing the resource type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeEventPayloadItemImpl

public ChangeEventPayloadItemImpl(SearchResult s)
Method Detail

getDataTypeProperties

public java.util.Set<org.eaglei.model.EIURI> getDataTypeProperties()
Description copied from interface: ChangeEventPayloadItem
Returns the URIs (as EIURI instances) for the result data type properties.

Specified by:
getDataTypeProperties in interface ChangeEventPayloadItem
Returns:
Set of EIURIs representing a eagle-i ontology data type properties for the result.

getDataTypeProperty

public java.util.Set<java.lang.String> getDataTypeProperty(org.eaglei.model.EIURI eiuri)
Description copied from interface: ChangeEventPayloadItem
Retrieves the values of the specified data type property.

Specified by:
getDataTypeProperty in interface ChangeEventPayloadItem
Returns:
Values of the property if it has been set or null.

getEntity

public org.eaglei.model.EIEntity getEntity()
Description copied from interface: ChangeEventPayloadItem
Retrieves the EIEntity representing the resource instance.

Specified by:
getEntity in interface ChangeEventPayloadItem
Returns:
The EIEntity.

getInstitution

public org.eaglei.model.EIEntity getInstitution()
Description copied from interface: ChangeEventPayloadItem
Retrieves the EIEntity representing the resource institution.

Specified by:
getInstitution in interface ChangeEventPayloadItem
Returns:
The institution entity.

getObjectProperties

public java.util.Set<org.eaglei.model.EIURI> getObjectProperties()
Description copied from interface: ChangeEventPayloadItem
Returns the URIs (as EIURI instances) for the result object properties.

Specified by:
getObjectProperties in interface ChangeEventPayloadItem
Returns:
Set of EIURIs representing a eagle-i ontology properties for the result.

getObjectProperty

public java.util.Set<org.eaglei.model.EIURI> getObjectProperty(org.eaglei.model.EIURI eiuri)
Description copied from interface: ChangeEventPayloadItem
Retrieves the values of the specified object property.

Specified by:
getObjectProperty in interface ChangeEventPayloadItem
Returns:
Values of the property if it has been set or null.

getType

public org.eaglei.model.EIEntity getType()
Description copied from interface: ChangeEventPayloadItem
Retrieves the EIEntity representing the resource type.

Specified by:
getType in interface ChangeEventPayloadItem
Returns:
The type entity. Corresponds to a class in the eagle-i ontology.


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