public class SQLTimeClassDescriptor extends BaseDescriptor
Constructor and Description |
---|
SQLTimeClassDescriptor()
No-arg constructor.
|
Modifier and Type | Method and Description |
---|---|
AccessMode |
getAccessMode()
Returns the access mode specified for this class.
|
XMLFieldDescriptor[] |
getAttributeDescriptors()
Returns the set of XMLFieldDescriptors for all members that should be
marshaled as XML attributes.
|
XMLFieldDescriptor |
getContentDescriptor()
Returns the XMLFieldDescriptor for the member that should be marshaled
as text content.
|
XMLFieldDescriptor[] |
getElementDescriptors()
Returns the set of XMLFieldDescriptors for all members that should be
marshaled as XML elements.
|
ClassDescriptor |
getExtends()
Returns the class descriptor of the class extended by this class.
|
XMLFieldDescriptor |
getFieldDescriptor(String name,
String namespace,
NodeType nodeType)
Returns the XML field descriptor matching the given xml name and
nodeType.
|
FieldDescriptor[] |
getFields()
Returns a list of fields represented by this descriptor.
|
FieldDescriptor |
getIdentity()
Returns the identity field, null if this class has no identity.
|
Class |
getJavaClass()
Returns the Java class represented by this descriptor.
|
String |
getNameSpacePrefix()
Returns the namespace prefix to use when marshalling as XML.
|
String |
getNameSpaceURI()
Returns the namespace URI used when marshalling and unmarshalling as XML.
|
TypeValidator |
getValidator()
Returns a specific validator for the class described by this
ClassDescriptor.
|
String |
getXMLName()
Returns the XML Name for the Class being described.
|
String |
toString()
Returns the String representation of this XMLClassDescriptor.
|
addNature, canAccept, checkDescriptorForCorrectOrderWithinSequence, getProperty, hasNature, isChoice, setProperty
public XMLFieldDescriptor[] getAttributeDescriptors()
public XMLFieldDescriptor getContentDescriptor()
public XMLFieldDescriptor[] getElementDescriptors()
public XMLFieldDescriptor getFieldDescriptor(String name, String namespace, NodeType nodeType)
name
- the xml name to match againstnamespace
- the namespace urinodeType
- the NodeType to match against, or null if the node type
is not known.public String getNameSpacePrefix()
XMLClassDescriptor
public String getNameSpaceURI()
XMLClassDescriptor
public TypeValidator getValidator()
public String getXMLName()
public String toString()
public Class getJavaClass()
public FieldDescriptor[] getFields()
public ClassDescriptor getExtends()
public FieldDescriptor getIdentity()
public AccessMode getAccessMode()
Copyright © 2017. All rights reserved.