Package org.openxava.mapping
Class ReferenceMappingDetail
- java.lang.Object
-
- org.openxava.util.meta.MetaSetsContainer
-
- org.openxava.mapping.ReferenceMappingDetail
-
- All Implemented Interfaces:
java.io.Serializable
public class ReferenceMappingDetail extends MetaSetsContainer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReferenceMappingDetail()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCmpTypeName()
java.lang.String
getColumn()
ReferenceMapping
getContainer()
IConverter
getConverter()
java.lang.String
getConverterClassName()
java.lang.String
getQualifiedColumn()
java.lang.String
getQualifiedColumnOfReferencedTable()
java.lang.String
getReferencedModelProperty()
java.lang.String
getReferencedTableColumn()
java.lang.String
getReferenceModelPropertyAsJavaMethodCall()
From a 'invoice.delivery.shipment.number' returns '.getInvoice().getDelivery().getShipment().getNumber()'boolean
hasConverter()
void
setCmpTypeName(java.lang.String cmpTypeName)
void
setColumn(java.lang.String tableColumn)
void
setContainer(ReferenceMapping contenedor)
void
setConverterClassName(java.lang.String converterClassName)
void
setReferencedModelProperty(java.lang.String referencedModelProperty)
static boolean
someMappingUsesConverters()
-
Methods inherited from class org.openxava.util.meta.MetaSetsContainer
addMetaSet, assignPropertiesValues, containsMetaSets, containsMetaSetsWithoutValue, getMetaSets, getMetaSetsWithoutValue, getPropertyNameForPropertyFrom, isDependent
-
-
-
-
Method Detail
-
getColumn
public java.lang.String getColumn()
-
setColumn
public void setColumn(java.lang.String tableColumn)
-
getReferencedModelProperty
public java.lang.String getReferencedModelProperty()
-
setReferencedModelProperty
public void setReferencedModelProperty(java.lang.String referencedModelProperty)
-
getReferenceModelPropertyAsJavaMethodCall
public java.lang.String getReferenceModelPropertyAsJavaMethodCall()
From a 'invoice.delivery.shipment.number' returns '.getInvoice().getDelivery().getShipment().getNumber()'
-
getQualifiedColumnOfReferencedTable
public java.lang.String getQualifiedColumnOfReferencedTable() throws XavaException
- Throws:
XavaException
-
getReferencedTableColumn
public java.lang.String getReferencedTableColumn() throws XavaException
- Throws:
XavaException
-
getQualifiedColumn
public java.lang.String getQualifiedColumn() throws XavaException
- Throws:
XavaException
-
getContainer
public ReferenceMapping getContainer()
-
setContainer
public void setContainer(ReferenceMapping contenedor)
-
getConverterClassName
public java.lang.String getConverterClassName()
-
setConverterClassName
public void setConverterClassName(java.lang.String converterClassName)
-
hasConverter
public boolean hasConverter()
-
getConverter
public IConverter getConverter() throws XavaException
- Throws:
XavaException
-
someMappingUsesConverters
public static boolean someMappingUsesConverters()
-
getCmpTypeName
public java.lang.String getCmpTypeName()
-
setCmpTypeName
public void setCmpTypeName(java.lang.String cmpTypeName)
-
-