public class XFTSuperiorReference extends Object implements XFTReferenceI
Modifier and Type | Field and Description |
---|---|
static int |
SUBORDINATE
value used for specifier field to say the relation was defined in the subordinate element.
|
static int |
SUPERIOR
value used for specifier field to say the relation was defined in the superior element (as a max occurs > 1).
|
Constructor and Description |
---|
XFTSuperiorReference(GenericWrapperField field)
If the field isMultiple then this is initialized as a superior field, otherwise
it is a subordinate field.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(XFTReferenceI arg0) |
GenericWrapperElement |
getElement1() |
GenericWrapperElement |
getElement2() |
GenericWrapperField |
getField1() |
GenericWrapperField |
getField2() |
ArrayList<XFTRelationSpecification> |
getKeyRelations()
ArrayList of XFTRelationSpecification
|
GenericWrapperElement |
getSubordinateElement() |
String |
getSubordinateElementName() |
GenericWrapperField |
getSubordinateField() |
String |
getSubordinateFieldSQLName() |
GenericWrapperElement |
getSuperiorElement() |
String |
getSuperiorElementLocalName() |
String |
getSuperiorElementName() |
GenericWrapperField |
getSuperiorField() |
String |
getSuperiorFieldSQLName() |
boolean |
isManyToMany() |
void |
setSubordinateElement(GenericWrapperElement element) |
void |
setSubordinateField(GenericWrapperField field) |
void |
setSuperiorElement(GenericWrapperElement element) |
void |
setSuperiorField(GenericWrapperField field) |
String |
toString() |
public static final int SUPERIOR
public static final int SUBORDINATE
public XFTSuperiorReference(GenericWrapperField field) throws ElementNotFoundException, XFTInitException
field
- ElementNotFoundException
XFTInitException
public String getSuperiorElementName()
public String getSuperiorElementLocalName()
public String getSubordinateElementName()
public GenericWrapperElement getSubordinateElement()
public GenericWrapperField getSubordinateField()
public GenericWrapperElement getSuperiorElement()
public GenericWrapperField getSuperiorField()
public void setSubordinateElement(GenericWrapperElement element)
element
- public void setSubordinateField(GenericWrapperField field)
field
- public void setSuperiorElement(GenericWrapperElement element)
element
- public void setSuperiorField(GenericWrapperField field)
field
- public GenericWrapperElement getElement1()
public GenericWrapperElement getElement2()
public GenericWrapperField getField1()
public GenericWrapperField getField2()
public boolean isManyToMany()
isManyToMany
in interface XFTReferenceI
public ArrayList<XFTRelationSpecification> getKeyRelations()
public String getSubordinateFieldSQLName()
public String getSuperiorFieldSQLName()
public int compareTo(XFTReferenceI arg0)
compareTo
in interface Comparable<XFTReferenceI>
compareTo
in interface XFTReferenceI
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.