net.sf.jaxme.xs.jaxb.impl
Class JAXBPropertyImpl

java.lang.Object
  extended bynet.sf.jaxme.xs.xml.impl.XsObjectImpl
      extended bynet.sf.jaxme.xs.jaxb.impl.JAXBXsObjectImpl
          extended bynet.sf.jaxme.xs.jaxb.impl.JAXBPropertyImpl
All Implemented Interfaces:
JAXBProperty, XsObject

public class JAXBPropertyImpl
extends JAXBXsObjectImpl
implements JAXBProperty

Implementation of the Property interface.

Version:
$Id: JAXBPropertyImpl.java,v 1.2 2003/08/13 20:34:21 joe Exp $
Author:
Jochen Wiedmann

Nested Class Summary
static class JAXBPropertyImpl.BaseTypeImpl
           
 
Nested classes inherited from class net.sf.jaxme.xs.jaxb.JAXBProperty
JAXBProperty.BaseType
 
Constructor Summary
protected JAXBPropertyImpl(XsObject pParent)
          Creates a new instance of JAXBPropertyImpl.
 
Method Summary
 JAXBProperty.BaseType createBaseType()
           
 JAXBJavadoc createJavadoc()
           
 JAXBProperty.BaseType getBaseType()
          Returns the base type.
 java.lang.String getCollectionType()
          Returns the collection type; either of "indexed" or an implementation of java.util.List.
 JAXBJavadoc getJavadoc()
          Returns the getter methods JavaDoc documentation.
 java.lang.String getName()
          Returns the property name.
 java.lang.Boolean isEnableFailFastCheck()
          Returns whether FailFastCheck is enabled.
 java.lang.Boolean isFixedAttributeAsConstantProperty()
          Returns whether fixed attributes are implemented as a constant property.
 java.lang.Boolean isGenerateIsSetMethod()
          Returns whether a isSet() method is being generated.
 void setCollectionType(java.lang.String pType)
           
 void setEnableFailFastCheck(java.lang.Boolean pEnableFailFastCheck)
           
 void setFixedAttributeAsConstantProperty(java.lang.Boolean pFixedAttributeAsConstantProperty)
           
 void setGenerateIsSetMethod(java.lang.Boolean pGenerateIsSetMethod)
           
 void setName(java.lang.String pName)
           
 
Methods inherited from class net.sf.jaxme.xs.jaxb.impl.JAXBXsObjectImpl
getJAXBXsObjectFactory
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsObjectImpl
asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
 

Constructor Detail

JAXBPropertyImpl

protected JAXBPropertyImpl(XsObject pParent)

Creates a new instance of JAXBPropertyImpl.

Method Detail

setName

public void setName(java.lang.String pName)

getName

public java.lang.String getName()
Description copied from interface: JAXBProperty

Returns the property name.

Specified by:
getName in interface JAXBProperty

setCollectionType

public void setCollectionType(java.lang.String pType)
                       throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

getCollectionType

public java.lang.String getCollectionType()
Description copied from interface: JAXBProperty

Returns the collection type; either of "indexed" or an implementation of java.util.List. The value null indicates, that the attribute has not been set.

Specified by:
getCollectionType in interface JAXBProperty

setFixedAttributeAsConstantProperty

public void setFixedAttributeAsConstantProperty(java.lang.Boolean pFixedAttributeAsConstantProperty)

isFixedAttributeAsConstantProperty

public java.lang.Boolean isFixedAttributeAsConstantProperty()
Description copied from interface: JAXBProperty

Returns whether fixed attributes are implemented as a constant property. The value null indicates, that the attribute has not been set.

Specified by:
isFixedAttributeAsConstantProperty in interface JAXBProperty

setGenerateIsSetMethod

public void setGenerateIsSetMethod(java.lang.Boolean pGenerateIsSetMethod)

isGenerateIsSetMethod

public java.lang.Boolean isGenerateIsSetMethod()
Description copied from interface: JAXBProperty

Returns whether a isSet() method is being generated. The value null indicates, that the attribute has not been set.

Specified by:
isGenerateIsSetMethod in interface JAXBProperty

setEnableFailFastCheck

public void setEnableFailFastCheck(java.lang.Boolean pEnableFailFastCheck)

isEnableFailFastCheck

public java.lang.Boolean isEnableFailFastCheck()
Description copied from interface: JAXBProperty

Returns whether FailFastCheck is enabled. The value null indicates, that the attribute has not been set.

Specified by:
isEnableFailFastCheck in interface JAXBProperty

createJavadoc

public JAXBJavadoc createJavadoc()

getJavadoc

public JAXBJavadoc getJavadoc()
Description copied from interface: JAXBProperty

Returns the getter methods JavaDoc documentation.

Specified by:
getJavadoc in interface JAXBProperty

createBaseType

public JAXBProperty.BaseType createBaseType()

getBaseType

public JAXBProperty.BaseType getBaseType()
Description copied from interface: JAXBProperty

Returns the base type.

Specified by:
getBaseType in interface JAXBProperty