org.exolab.castor.types
Class TimePeriodDescriptor

java.lang.Object
  extended by org.exolab.castor.types.BaseDescriptor
      extended by org.exolab.castor.types.TimePeriodDescriptor
All Implemented Interfaces:
NatureExtendable, PropertyHolder, ClassDescriptor, XMLClassDescriptor

Deprecated. since Castor 1.0.6 since this type is not in any recommendation.

public class TimePeriodDescriptor
extends BaseDescriptor

The TimePeriod Descriptor

Version:
$Revision: 6553 $ $Date: 2005-03-05 06:42:06 -0700 (Sat, 05 Mar 2005) $
Author:
Arnaud Blandin, Keith Visco

Field Summary
 
Fields inherited from class org.exolab.castor.types.BaseDescriptor
noXMLFields
 
Constructor Summary
TimePeriodDescriptor()
          Deprecated.  
 
Method Summary
 XMLFieldDescriptor getContentDescriptor()
          Deprecated. Returns the XMLFieldDescriptor for the member that should be marshalled as text content.
 FieldDescriptor[] getFields()
          Deprecated. Returns a list of fields represented by this descriptor.
 
Methods inherited from class org.exolab.castor.types.BaseDescriptor
addNature, canAccept, checkDescriptorForCorrectOrderWithinSequence, getAccessMode, getAttributeDescriptors, getElementDescriptors, getExtends, getFieldDescriptor, getIdentity, getJavaClass, getNameSpacePrefix, getNameSpaceURI, getProperty, getValidator, getXMLName, hasNature, isChoice, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimePeriodDescriptor

public TimePeriodDescriptor()
Deprecated. 
Method Detail

getContentDescriptor

public XMLFieldDescriptor getContentDescriptor()
Deprecated. 
Returns the XMLFieldDescriptor for the member that should be marshalled as text content.

Specified by:
getContentDescriptor in interface XMLClassDescriptor
Overrides:
getContentDescriptor in class BaseDescriptor
Returns:
the XMLFieldDescriptor for the member that should be marshalled as text content.

getFields

public FieldDescriptor[] getFields()
Deprecated. 
Returns a list of fields represented by this descriptor.

Specified by:
getFields in interface ClassDescriptor
Overrides:
getFields in class BaseDescriptor
Returns:
A list of fields


Copyright © 2011. All Rights Reserved.