Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.io.oml.internal.goml.omwg
Class Relation

java.lang.Object
  extended by eu.esdihumboldt.hale.io.oml.internal.goml.align.Entity
      extended by eu.esdihumboldt.hale.io.oml.internal.goml.omwg.Relation
All Implemented Interfaces:
IEntity
Direct Known Subclasses:
ComposedRelation

public class Relation
extends Entity

This class represents the , to be used when a relation between (feature)classes is mapped. Not to be confused with the Java enum type RelationType, which is a list of possible semantic relations between Entities in an OML Cell.

Author:
Marian de Vries
Partner:
08 / Delft University of Technology

Field Summary
 
Fields inherited from class eu.esdihumboldt.hale.io.oml.internal.goml.align.Entity
NULL_ENTITY
 
Constructor Summary
Relation(IAbout about)
           
 
Method Summary
 IEntity deepCopy()
           
 List<FeatureClass> getDomainRestriction()
           
 String getNamespace()
           
 List<FeatureClass> getRangeRestriction()
           
 void setDomainRestriction(List<FeatureClass> domainRestriction)
           
 void setRangeRestriction(List<FeatureClass> rangeRestriction)
           
 
Methods inherited from class eu.esdihumboldt.hale.io.oml.internal.goml.align.Entity
getAbout, getLabel, getLocalname, getTransformation, setAbout, setLabel, setTransformation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Relation

public Relation(IAbout about)
Method Detail

getNamespace

public String getNamespace()
Specified by:
getNamespace in class Entity
Returns:
the namespace part of this Entity.

getDomainRestriction

public List<FeatureClass> getDomainRestriction()
Returns:
the domainRestriction

setDomainRestriction

public void setDomainRestriction(List<FeatureClass> domainRestriction)
Parameters:
domainRestriction - the domainRestriction to set

getRangeRestriction

public List<FeatureClass> getRangeRestriction()
Returns:
the rangeRestriction

setRangeRestriction

public void setRangeRestriction(List<FeatureClass> rangeRestriction)
Parameters:
rangeRestriction - the rangeRestriction to set

deepCopy

public IEntity deepCopy()
Specified by:
deepCopy in class Entity

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d