nl.beesting.beangenerator.config
Class ClassDescriptor
java.lang.Object
nl.beesting.beangenerator.config.ClassDescriptor
public class ClassDescriptor
- extends java.lang.Object
ClassDescriptor Created 25-okt-2004
- Author:
- Administrator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassDescriptor
public ClassDescriptor()
getClazz
public java.lang.Class<?> getClazz()
- Returns:
- Returns the clazz.
setClazz
public void setClazz(java.lang.Class<?> clazz)
- Parameters:
clazz
- The clazz to set.
getCollectionType
public java.lang.Class<?> getCollectionType()
- Returns:
- Returns the collectionType.
setCollectionType
public void setCollectionType(java.lang.Class<?> collectionType)
- Parameters:
collectionType
- The collectionType to set.
getFieldDefinitions
public java.util.Map<java.lang.String,FieldDescriptor> getFieldDefinitions()
- Returns:
- Returns the fieldDefinitions.
getId
public java.lang.String getId()
- Returns:
- Returns the id.
setId
public void setId(java.lang.String id)
- Parameters:
id
- The id to set.
setCollectionSize
public void setCollectionSize(java.lang.String collectionSize)
getCollectionSize
public int getCollectionSize()
- Collection size can have 2 formats either its just one number or a range like '10..30' than a
random number from that range is picked.
- Returns:
- the collection size of beans to generate
Copyright © 2008. All Rights Reserved.