|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dishevelled.vocabulary.simple.SimpleProjection
public class SimpleProjection
Simple implementation of the Projection interface.
| Field Summary | |
|---|---|
private java.util.Set<Evidence> |
evidence
Set of evidence. |
private Mapping |
mapping
Mapping. |
private java.lang.String |
name
Projection name. |
private SimpleConcept |
source
Source concept. |
private SimpleConcept |
target
Source target. |
| Constructor Summary | |
|---|---|
SimpleProjection(Mapping mapping,
java.lang.String name,
SimpleConcept source,
SimpleConcept target,
java.util.Set<Evidence> evidence)
Create a new projection in the specified mapping between concepts source and
target with the specified name. |
|
| Method Summary | |
|---|---|
java.util.Set<Evidence> |
getEvidence()
Return the set of evidence supporting this assignment. |
Mapping |
getMapping()
Return the mapping of this projection. |
java.lang.String |
getName()
Return the name of this projection. |
Concept |
getSource()
Return the source concept of this projection. |
Concept |
getTarget()
Return the target concept of this projection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final java.lang.String name
private final SimpleConcept source
private final SimpleConcept target
private final Mapping mapping
private final java.util.Set<Evidence> evidence
| Constructor Detail |
|---|
SimpleProjection(Mapping mapping,
java.lang.String name,
SimpleConcept source,
SimpleConcept target,
java.util.Set<Evidence> evidence)
source and
target with the specified name. All of
mapping, source, and target
must not be null.
mapping - mappingname - projection namesource - source concepttarget - target conceptevidence - set of evidence| Method Detail |
|---|
public java.lang.String getName()
Projection
getName in interface ProjectionProjectionpublic Concept getSource()
Projection
getSource in interface ProjectionProjectionpublic Concept getTarget()
Projection
getTarget in interface ProjectionProjectionpublic Mapping getMapping()
Projection
getMapping in interface ProjectionProjectionpublic java.util.Set<Evidence> getEvidence()
Projection
getEvidence in interface ProjectionProjection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||