org.apache.xbean.spring.generator
Class ElementMapping

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

public class ElementMapping
extends java.lang.Object
implements java.lang.Comparable

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

Constructor Summary
ElementMapping(java.lang.String namespace, java.lang.String elementName, java.lang.String className, java.lang.String description, boolean rootElement, java.lang.String initMethod, java.lang.String destroyMethod, java.lang.String factoryMethod, java.lang.String contentProperty, java.util.Set attributes, java.util.List constructors, java.util.List flatProperties, java.util.Map maps, java.util.Map flatCollections, java.util.List superClasses, java.util.HashSet interfaces)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 AttributeMapping getAttribute(java.lang.String attributeName)
           
 java.util.Set getAttributes()
           
 java.lang.String getClassName()
           
 java.util.List getConstructors()
           
 java.lang.String getContentProperty()
           
 java.lang.String getDescription()
           
 java.lang.String getDestroyMethod()
           
 java.lang.String getElementName()
           
 java.lang.String getFactoryMethod()
           
 java.util.Map getFlatCollections()
           
 java.util.List getFlatProperties()
           
 java.lang.String getInitMethod()
           
 java.util.HashSet getInterfaces()
           
 MapMapping getMapMapping(java.lang.String name)
           
 java.util.Map getMapMappings()
           
 java.lang.String getNamespace()
           
 java.util.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(java.lang.String namespace,
                      java.lang.String elementName,
                      java.lang.String className,
                      java.lang.String description,
                      boolean rootElement,
                      java.lang.String initMethod,
                      java.lang.String destroyMethod,
                      java.lang.String factoryMethod,
                      java.lang.String contentProperty,
                      java.util.Set attributes,
                      java.util.List constructors,
                      java.util.List flatProperties,
                      java.util.Map maps,
                      java.util.Map flatCollections,
                      java.util.List superClasses,
                      java.util.HashSet interfaces)
Method Detail

getNamespace

public java.lang.String getNamespace()

getElementName

public java.lang.String getElementName()

getClassName

public java.lang.String getClassName()

getDescription

public java.lang.String getDescription()

isRootElement

public boolean isRootElement()

getInitMethod

public java.lang.String getInitMethod()

getDestroyMethod

public java.lang.String getDestroyMethod()

getFactoryMethod

public java.lang.String getFactoryMethod()

getContentProperty

public java.lang.String getContentProperty()

getAttributes

public java.util.Set getAttributes()

getAttribute

public AttributeMapping getAttribute(java.lang.String attributeName)

getMapMappings

public java.util.Map getMapMappings()

getMapMapping

public MapMapping getMapMapping(java.lang.String name)

getFlatCollections

public java.util.Map getFlatCollections()

getFlatProperties

public java.util.List getFlatProperties()

getConstructors

public java.util.List getConstructors()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

compareTo

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

getInterfaces

public java.util.HashSet getInterfaces()

getSuperClasses

public java.util.List getSuperClasses()


Copyright © 2005-2011. All Rights Reserved.