Class XmlAssociationMetadata
- java.lang.Object
-
- org.codehaus.modello.plugins.xml.metadata.XmlAssociationMetadata
-
- All Implemented Interfaces:
AssociationMetadata,Metadata
public class XmlAssociationMetadata extends Object implements AssociationMetadata
- Author:
- Trygve Laugstøl
-
-
Field Summary
Fields Modifier and Type Field Description static StringEXPLODE_MODEstatic StringIDstatic StringINLINE_MODEstatic StringITEMS_STYLE_FLATstatic StringITEMS_STYLE_WRAPPED
-
Constructor Summary
Constructors Constructor Description XmlAssociationMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetItemsStyle()StringgetMapStyle()StringgetTagName()booleanisFlatItems()booleanisMapExplode()booleanisMapInline()booleanisReference()booleanisWrappedItems()voidsetItemsStyle(String itemsStyle)voidsetMapStyle(String mapStyle)voidsetReference(boolean reference)voidsetTagName(String tagName)
-
-
-
Field Detail
-
ID
public static final String ID
-
EXPLODE_MODE
public static final String EXPLODE_MODE
- See Also:
- Constant Field Values
-
INLINE_MODE
public static final String INLINE_MODE
- See Also:
- Constant Field Values
-
ITEMS_STYLE_FLAT
public static final String ITEMS_STYLE_FLAT
- See Also:
- Constant Field Values
-
ITEMS_STYLE_WRAPPED
public static final String ITEMS_STYLE_WRAPPED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTagName
public String getTagName()
-
setTagName
public void setTagName(String tagName)
-
getItemsStyle
public String getItemsStyle()
-
setItemsStyle
public void setItemsStyle(String itemsStyle)
-
isFlatItems
public boolean isFlatItems()
-
isWrappedItems
public boolean isWrappedItems()
-
getMapStyle
public String getMapStyle()
- Returns:
- Returns the map style.
-
setMapStyle
public void setMapStyle(String mapStyle)
- Parameters:
mapStyle- The map style (inline or explode).
-
isMapInline
public boolean isMapInline()
-
isMapExplode
public boolean isMapExplode()
-
isReference
public boolean isReference()
-
setReference
public void setReference(boolean reference)
-
-