org.exolab.castor.types
Class TimePeriodDescriptor

java.lang.Object
  extended byorg.exolab.castor.types.BaseDescriptor
      extended byorg.exolab.castor.types.TimePeriodDescriptor
All Implemented Interfaces:
ClassDescriptor, XMLClassDescriptor

public class TimePeriodDescriptor
extends BaseDescriptor

The TimePeriod Descriptor

Version:
$Revision: 1.2 $ $Date: 2003/04/23 06:35:24 $
Author:
Arnaud Blandin, Keith Visco

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

Constructor Detail

TimePeriodDescriptor

public TimePeriodDescriptor()
Method Detail

getContentDescriptor

public XMLFieldDescriptor getContentDescriptor()
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()
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


Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com