r01f.marshalling.simple
Class DataTypes.DataType
java.lang.Object
r01f.marshalling.simple.DataTypes.DataType
- Direct Known Subclasses:
- DataTypes.CollectionType, DataTypes.DateType, DataTypes.EnumType, DataTypes.ObjectType
- Enclosing class:
- DataTypes
public static class DataTypes.DataType
- extends java.lang.Object
Encapsula el tipo de dato
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_beanMap
private BeanMap _beanMap
_name
private java.lang.String _name
_type
private DataTypes.DataTypeEnum _type
_simple
private boolean _simple
_map
private boolean _map
_list
private boolean _list
_enum
private boolean _enum
_object
private boolean _object
_date
private boolean _date
DataTypes.DataType
public DataTypes.DataType(java.lang.String name,
DataTypes.DataTypeEnum type)
asObject
public DataTypes.ObjectType asObject()
asCollection
public DataTypes.CollectionType asCollection()
asList
public DataTypes.ListCollectionType asList()
asMap
public DataTypes.MapCollectionType asMap()
asEnum
public DataTypes.EnumType asEnum()
asDate
public DataTypes.DateType asDate()
isCollection
public boolean isCollection()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
debugInfo
public java.lang.String debugInfo()
create
public static DataTypes.DataType create(java.lang.String text)
- Factoria del tipo de dato a partir de su descripción
- Parameters:
text -
- Returns: