nl.beesting.beangenerator.config
Class ClassDescriptor

java.lang.Object
  extended by nl.beesting.beangenerator.config.ClassDescriptor

public class ClassDescriptor
extends java.lang.Object

ClassDescriptor Created 25-okt-2004

Author:
Administrator

Constructor Summary
ClassDescriptor()
           
 
Method Summary
 java.lang.Class<?> getClazz()
           
 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.
 java.lang.Class<?> getCollectionType()
           
 java.util.Map<java.lang.String,FieldDescriptor> getFieldDefinitions()
           
 java.lang.String getId()
           
 void setClazz(java.lang.Class<?> clazz)
           
 void setCollectionSize(java.lang.String collectionSize)
           
 void setCollectionType(java.lang.Class<?> collectionType)
           
 void setId(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassDescriptor

public ClassDescriptor()
Method Detail

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.