| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.feature.persistence.sql.rules.Mapping
public abstract class Mapping
A Mapping describes how a particle of a feature type is mapped to a relational model (tables/columns).
 
The mapping is defined by identifying a relative XPath-expression in the feature model with a column mapping/join rule in the relational model.
| Constructor Summary | |
|---|---|
protected  | 
Mapping(ValueReference path,
        boolean voidable,
        List<TableJoin> tableChange)
Creates a new Mapping instance. | 
| Method Summary | |
|---|---|
 List<TableJoin> | 
getJoinedTable()
Returns the table joins that have to be performed in the relational model to follow the particle path.  | 
 ValueReference | 
getPath()
Returns a relative XPath-expression that describes the path from the parent particle to the particle(s) that are affected by this rule.  | 
 boolean | 
isVoidable()
Returns whether the particle can be omitted from the parent particle without violating the schema.  | 
 String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
protected Mapping(ValueReference path,
                  boolean voidable,
                  List<TableJoin> tableChange)
Mapping instance.
path - relative xpath expression, must not be nullvoidable - true, if the particle can be omitted from the parent particle (i.e. be null), false
            otherwisetableChange - table joins, can be null (no joins involved)| Method Detail | 
|---|
public ValueReference getPath()
nullpublic boolean isVoidable()
null), false
         otherwisepublic List<TableJoin> getJoinedTable()
null (no joins involved)public String toString()
toString in class Object
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||