org.codehaus.modello.plugins.xml.metadata
Class XmlAssociationMetadata

java.lang.Object
  extended by org.codehaus.modello.plugins.xml.metadata.XmlAssociationMetadata
All Implemented Interfaces:
AssociationMetadata, Metadata

public class XmlAssociationMetadata
extends Object
implements AssociationMetadata

Version:
$Id: XmlAssociationMetadata.java 1163 2009-01-25 14:31:07Z hboutemy $
Author:
Trygve Laugstøl

Field Summary
static String EXPLODE_MODE
           
static String ID
           
static String INLINE_MODE
           
static String ITEMS_STYLE_FLAT
           
static String ITEMS_STYLE_WRAPPED
           
 
Constructor Summary
XmlAssociationMetadata()
           
 
Method Summary
 String getItemsStyle()
           
 String getMapStyle()
           
 String getTagName()
           
 boolean isFlatItems()
           
 boolean isMapExplode()
           
 boolean isMapInline()
           
 boolean isReference()
           
 boolean isWrappedItems()
           
 void setItemsStyle(String itemsStyle)
           
 void setMapStyle(String mapStyle)
           
 void setReference(boolean reference)
           
 void setTagName(String tagName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

XmlAssociationMetadata

public XmlAssociationMetadata()
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)


Copyright © 2001-2011 Codehaus. All Rights Reserved.