|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.imemex.idm.AbstractResourceView
org.imemex.componentmappings.AbstractOIDResourceView
org.imemex.resourceviewmanager.AbstractIdentifiableResourceView
public abstract class AbstractIdentifiableResourceView
Base abstract implementation for an identifiable resource view, i.e., a resource view which is known to the system either by OID (warehousing) or by dataSourceId+pluginAssignedId (mediation).
| Constructor Summary | |
|---|---|
AbstractIdentifiableResourceView()
Instantiates a new AbstractIdentifiableResourceView |
|
| Method Summary | |
|---|---|
static PullOperator<IdentifiableResourceView>[] |
EMPTY_ARRAY_IRV()
|
static PullOperator<PluginIdentifiableResourceView>[] |
EMPTY_ARRAY_PIRV()
|
boolean |
equals(java.lang.Object obj)
|
long |
getDataSourceId()
Obtains the data source identifier for this resource view. |
java.lang.String |
getPluginAssignedId()
Get the plugin assigned id of this resource view. |
double |
getScore()
|
ScoreAttributes |
getScoreAttributes()
Gets scoring information for this resource view. |
int |
hashCode()
|
void |
mergeScoreAttributes(ScoreAttributes sa)
Merges the current scoring information for this resource view with the given scoring information. |
void |
setDataSourceId(long dataSourceId)
Sets the data source identifier for this resource view. |
void |
setPluginAssignedId(java.lang.String pluginAssignedId)
Returns the plugin assigned id of this RV. |
void |
setScore(double score)
|
void |
setScoreAttributes(ScoreAttributes sa)
Sets the score attributes for this resource view. |
java.lang.String |
toString()
|
| Methods inherited from class org.imemex.componentmappings.AbstractOIDResourceView |
|---|
compareTo, getOID, setOID |
| Methods inherited from class org.imemex.idm.AbstractResourceView |
|---|
getName, setName |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.imemex.componentmappings.OIDResourceView |
|---|
setOID |
| Methods inherited from interface org.imemex.componentmappings.OID |
|---|
getOID |
| Methods inherited from interface org.imemex.idm.ResourceView |
|---|
getContent, getGroup, getName, getTuple |
| Constructor Detail |
|---|
public AbstractIdentifiableResourceView()
| Method Detail |
|---|
public long getDataSourceId()
IdentifiableResourceView
getDataSourceId in interface IdentifiableResourceViewpublic void setDataSourceId(long dataSourceId)
IdentifiableResourceView
setDataSourceId in interface IdentifiableResourceViewdataSourceId - - the new data source id to be set.public void setPluginAssignedId(java.lang.String pluginAssignedId)
IdentifiableResourceView
setPluginAssignedId in interface IdentifiableResourceViewpublic java.lang.String getPluginAssignedId()
IdentifiableResourceView
getPluginAssignedId in interface IdentifiableResourceViewpublic final double getScore()
getScore in interface IdentifiableResourceViewpublic void setScore(double score)
setScore in interface IdentifiableResourceViewpublic ScoreAttributes getScoreAttributes()
IdentifiableResourceView
getScoreAttributes in interface IdentifiableResourceViewpublic void setScoreAttributes(ScoreAttributes sa)
IdentifiableResourceView
setScoreAttributes in interface IdentifiableResourceViewsa - - the score attributes to be set.public void mergeScoreAttributes(ScoreAttributes sa)
IdentifiableResourceView
mergeScoreAttributes in interface IdentifiableResourceViewsa - - the score attributes to be merged.public int hashCode()
hashCode in class AbstractOIDResourceViewpublic boolean equals(java.lang.Object obj)
equals in class AbstractOIDResourceViewpublic java.lang.String toString()
toString in class AbstractOIDResourceViewpublic static PullOperator<IdentifiableResourceView>[] EMPTY_ARRAY_IRV()
public static PullOperator<PluginIdentifiableResourceView>[] EMPTY_ARRAY_PIRV()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||