public class ReferenceMapping
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Constructor and Description |
---|
ReferenceMapping() |
Modifier and Type | Method and Description |
---|---|
void |
addDetail(ReferenceMappingDetail detail) |
ReferenceMapping |
clone() |
java.lang.String |
getCMPAttribute(java.lang.String propertyNameOfReferencedModel) |
java.util.Collection |
getCmpFields() |
java.lang.String |
getCmpTypeNameForReferencedModelProperty(java.lang.String property) |
java.lang.String |
getColumnForReferencedModelProperty(java.lang.String property)
Qualified column.
|
java.util.Collection |
getColumns() |
ModelMapping |
getContainer() |
IConverter |
getConverterForReferencedModelProperty(java.lang.String property) |
java.util.Collection |
getDetails() |
java.lang.String |
getReference() |
java.lang.String |
getReferencedTable() |
boolean |
hasColumnForReferencedModelProperty(java.lang.String property)
Column not qualified.
|
boolean |
hasConverter(java.lang.String property) |
void |
setContainer(ModelMapping container) |
void |
setReference(java.lang.String reference) |
public ReferenceMapping clone()
clone
in class java.lang.Object
public void addDetail(ReferenceMappingDetail detail)
public java.lang.String getReferencedTable() throws XavaException
XavaException
public java.lang.String getColumnForReferencedModelProperty(java.lang.String property) throws ElementNotFoundException, XavaException
public java.lang.String getCmpTypeNameForReferencedModelProperty(java.lang.String property) throws ElementNotFoundException, XavaException
public IConverter getConverterForReferencedModelProperty(java.lang.String property) throws ElementNotFoundException, XavaException
public boolean hasColumnForReferencedModelProperty(java.lang.String property)
public java.util.Collection getDetails()
public ModelMapping getContainer()
public void setContainer(ModelMapping container)
public java.lang.String getReference()
public void setReference(java.lang.String reference)
public java.util.Collection getColumns() throws XavaException
XavaException
public java.lang.String getCMPAttribute(java.lang.String propertyNameOfReferencedModel) throws XavaException
XavaException
public java.util.Collection getCmpFields() throws XavaException
XavaException
public boolean hasConverter(java.lang.String property)