org.apache.xbean.spring.generator
Class ElementMapping

java.lang.Object
  extended by org.apache.xbean.spring.generator.ElementMapping
All Implemented Interfaces:
Comparable

public class ElementMapping
extends Object
implements Comparable

Since:
1.0
Version:
$Id$
Author:
Dain Sundstrom

Constructor Summary
ElementMapping(String namespace, String elementName, String className, String description, boolean rootElement, String initMethod, String destroyMethod, String factoryMethod, String contentProperty, Set attributes, List constructors, List flatProperties, Map maps, Map flatCollections, List superClasses, HashSet interfaces)
           
 
Method Summary
 int compareTo(Object obj)
           
 boolean equals(Object obj)
           
 AttributeMapping getAttribute(String attributeName)
           
 Set getAttributes()
           
 String getClassName()
           
 List getConstructors()
           
 String getContentProperty()
           
 String getDescription()
           
 String getDestroyMethod()
           
 String getElementName()
           
 String getFactoryMethod()
           
 Map getFlatCollections()
           
 List getFlatProperties()
           
 String getInitMethod()
           
 HashSet getInterfaces()
           
 MapMapping getMapMapping(String name)
           
 Map getMapMappings()
           
 String getNamespace()
           
 List getSuperClasses()
           
 int hashCode()
           
 boolean isRootElement()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementMapping

public ElementMapping(String namespace,
                      String elementName,
                      String className,
                      String description,
                      boolean rootElement,
                      String initMethod,
                      String destroyMethod,
                      String factoryMethod,
                      String contentProperty,
                      Set attributes,
                      List constructors,
                      List flatProperties,
                      Map maps,
                      Map flatCollections,
                      List superClasses,
                      HashSet interfaces)
Method Detail

getNamespace

public String getNamespace()

getElementName

public String getElementName()

getClassName

public String getClassName()

getDescription

public String getDescription()

isRootElement

public boolean isRootElement()

getInitMethod

public String getInitMethod()

getDestroyMethod

public String getDestroyMethod()

getFactoryMethod

public String getFactoryMethod()

getContentProperty

public String getContentProperty()

getAttributes

public Set getAttributes()

getAttribute

public AttributeMapping getAttribute(String attributeName)

getMapMappings

public Map getMapMappings()

getMapMapping

public MapMapping getMapMapping(String name)

getFlatCollections

public Map getFlatCollections()

getFlatProperties

public List getFlatProperties()

getConstructors

public List getConstructors()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

compareTo

public int compareTo(Object obj)
Specified by:
compareTo in interface Comparable

getInterfaces

public HashSet getInterfaces()

getSuperClasses

public List getSuperClasses()


Copyright © 2005-2012. All Rights Reserved.