|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eaglei.search.harvest.ResourceChangeEvent
public class ResourceChangeEvent
Holds information about change of a single resource. NOT thread safe.
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
ResourceChangeEvent(java.lang.String changeId,
org.eaglei.model.EIEntity entity)
Creates a new change event. |
|
| Method Summary | |
|---|---|
void |
addDataTypeProperty(org.eaglei.model.EIDatatypeProperty property,
java.lang.String value)
Adds a property binding for a data type property. |
void |
addObjectProperty(org.eaglei.model.EIObjectProperty property,
org.eaglei.model.EIURI value)
Adds a property binding for an object property. |
int |
compareTo(ResourceChangeEvent o)
|
boolean |
deepEquals(java.lang.Object obj)
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getChangeId()
Identifies the type of change. |
java.util.Set<org.eaglei.model.EIDatatypeProperty> |
getDataTypeProperties()
Returns the URIs (as EIURI instances) for the result data type properties. |
java.util.Set<java.lang.String> |
getDataTypeProperty(org.eaglei.model.EIDatatypeProperty property)
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.EIObjectProperty> |
getObjectProperties()
Returns the URIs (as EIURI instances) for the result object properties. |
java.util.Set<org.eaglei.model.EIURI> |
getObjectProperty(org.eaglei.model.EIObjectProperty property)
Retrieves the values of the specified object property. |
org.eaglei.model.EIURI |
getProvider()
Retrieves the resource provider URI. |
org.eaglei.model.EIEntity |
getType()
Retrieves the EIEntity representing the resource type. |
int |
hashCode()
|
boolean |
isDelete()
|
void |
setEntity(org.eaglei.model.EIEntity entity)
Sets the EIEntity representing the resource instance |
void |
setInstitution(org.eaglei.model.EIEntity institution)
Sets the EIEntity representing the resource institution. |
void |
setProvider(org.eaglei.model.EIURI provider)
Sets the resource provider URI. |
void |
setType(org.eaglei.model.EIEntity type)
Sets the EIEntity representing the resource type. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public ResourceChangeEvent(java.lang.String changeId,
org.eaglei.model.EIEntity entity)
| Method Detail |
|---|
public java.lang.String getChangeId()
public boolean isDelete()
public org.eaglei.model.EIEntity getEntity()
public void setEntity(org.eaglei.model.EIEntity entity)
entity - The EIEntity. Cannot be null.public org.eaglei.model.EIEntity getType()
public void setType(org.eaglei.model.EIEntity type)
type - The type entity. Corresponds to a class in the eagle-i ontology.public org.eaglei.model.EIURI getProvider()
public void setProvider(org.eaglei.model.EIURI provider)
provider - EIURI representing the resource provider. May be null.public org.eaglei.model.EIEntity getInstitution()
public void setInstitution(org.eaglei.model.EIEntity institution)
institution - The institution entity.public java.util.Set<org.eaglei.model.EIDatatypeProperty> getDataTypeProperties()
public void addDataTypeProperty(org.eaglei.model.EIDatatypeProperty property,
java.lang.String value)
property - Property URI as an EIURI. Cannot be null.value - Property value.public java.util.Set<java.lang.String> getDataTypeProperty(org.eaglei.model.EIDatatypeProperty property)
property - Property URI as an EIURI.
public java.util.Set<org.eaglei.model.EIObjectProperty> getObjectProperties()
public void addObjectProperty(org.eaglei.model.EIObjectProperty property,
org.eaglei.model.EIURI value)
property - Property URI as an EIURI. Cannot be null.value - Property value.public java.util.Set<org.eaglei.model.EIURI> getObjectProperty(org.eaglei.model.EIObjectProperty property)
property - Property URI as an EIURI.
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(ResourceChangeEvent o)
compareTo in interface java.lang.Comparable<ResourceChangeEvent>public boolean deepEquals(java.lang.Object obj)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||