Class OneToManyDescriptor
java.lang.Object
org.exolab.castor.xml.Validator
org.exolab.castor.xml.util.XMLClassDescriptorImpl
org.exolab.castor.xml.schema.annotations.jdo.descriptors.ReadonlyDirtyTypeDescriptor
org.exolab.castor.xml.schema.annotations.jdo.descriptors.OneToManyDescriptor
- All Implemented Interfaces:
NatureExtendable
,PropertyHolder
,ClassDescriptor
,TypeValidator
,ClassValidator
,XMLClassDescriptor
Class OneToManyDescriptor.
- Version:
- $Revision$ $Date$
-
Field Summary
Fields inherited from class org.exolab.castor.xml.Validator
resourceBundle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod getAccessMode.Method getIdentity.Method getJavaClass.Method getNameSpacePrefix.Method getNameSpaceURI.Method getValidator.Method getXMLName.boolean
Method isElementDefinition.Methods inherited from class org.exolab.castor.xml.util.XMLClassDescriptorImpl
addFieldDescriptor, addNature, addSequenceElement, canAccept, checkDescriptorForCorrectOrderWithinSequence, contains, getAttributeDescriptors, getContentDescriptor, getElementDescriptors, getExtends, getFieldDescriptor, getFields, getProperty, getSubstitutes, hasContainerFields, hasNature, isChoice, removeFieldDescriptor, setCompositorAsAll, setCompositorAsChoice, setCompositorAsSequence, setElementDefinition, setExtends, setExtendsWithoutFlatten, setIdentity, setIntrospected, setJavaClass, setNameSpacePrefix, setNameSpaceURI, setProperty, setSubstitutes, setXMLName, sortDescriptors, toString, validate, validate
Methods inherited from class org.exolab.castor.xml.Validator
checkUnresolvedIdrefs
-
Constructor Details
-
OneToManyDescriptor
public OneToManyDescriptor()
-
-
Method Details
-
getAccessMode
Method getAccessMode.- Overrides:
getAccessMode
in classReadonlyDirtyTypeDescriptor
- Returns:
- the access mode specified for this class.
-
getIdentity
Method getIdentity.- Specified by:
getIdentity
in interfaceClassDescriptor
- Overrides:
getIdentity
in classReadonlyDirtyTypeDescriptor
- Returns:
- the identity field, null if this class has no identity.
-
getJavaClass
Method getJavaClass.- Specified by:
getJavaClass
in interfaceClassDescriptor
- Overrides:
getJavaClass
in classReadonlyDirtyTypeDescriptor
- Returns:
- the Java class represented by this descriptor.
-
getNameSpacePrefix
Method getNameSpacePrefix.- Specified by:
getNameSpacePrefix
in interfaceXMLClassDescriptor
- Overrides:
getNameSpacePrefix
in classReadonlyDirtyTypeDescriptor
- Returns:
- the namespace prefix to use when marshaling as XML.
-
getNameSpaceURI
Method getNameSpaceURI.- Specified by:
getNameSpaceURI
in interfaceXMLClassDescriptor
- Overrides:
getNameSpaceURI
in classReadonlyDirtyTypeDescriptor
- Returns:
- the namespace URI used when marshaling and unmarshaling as XML.
-
getValidator
Method getValidator.- Specified by:
getValidator
in interfaceXMLClassDescriptor
- Overrides:
getValidator
in classReadonlyDirtyTypeDescriptor
- Returns:
- a specific validator for the class described by this ClassDescriptor.
-
getXMLName
Method getXMLName.- Specified by:
getXMLName
in interfaceXMLClassDescriptor
- Overrides:
getXMLName
in classReadonlyDirtyTypeDescriptor
- Returns:
- the XML Name for the Class being described.
-
isElementDefinition
public boolean isElementDefinition()Method isElementDefinition.- Overrides:
isElementDefinition
in classReadonlyDirtyTypeDescriptor
- Returns:
- true if XML schema definition of this Class is that of a global element or element with anonymous type definition.
-