info.magnolia.content2bean
Class PropertyTypeDescriptor

java.lang.Object
  extended by info.magnolia.content2bean.PropertyTypeDescriptor

public class PropertyTypeDescriptor
extends Object

Describes a property. Type, type used for creating concrete instances, is it a map/collection, adder method, ...

Version:
$Id: PropertyTypeDescriptor.java 41137 2011-01-06 18:19:25Z gjoseph $
Author:
philipp

Constructor Summary
PropertyTypeDescriptor()
           
 
Method Summary
 Method getAddMethod()
           
 TypeDescriptor getCollectionEntryType()
           
 TypeDescriptor getCollectionKeyType()
           
 String getName()
           
 TypeDescriptor getType()
           
 boolean isCollection()
           
 boolean isMap()
           
 void setAddMethod(Method addMethod)
           
 void setCollectionEntryType(TypeDescriptor collectionEntryType)
           
 void setCollectionKeyType(TypeDescriptor collectionKeyType)
           
 void setName(String name)
           
 void setType(TypeDescriptor type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyTypeDescriptor

public PropertyTypeDescriptor()
Method Detail

getAddMethod

public Method getAddMethod()

setAddMethod

public void setAddMethod(Method addMethod)

getCollectionEntryType

public TypeDescriptor getCollectionEntryType()

setCollectionEntryType

public void setCollectionEntryType(TypeDescriptor collectionEntryType)

getCollectionKeyType

public TypeDescriptor getCollectionKeyType()

setCollectionKeyType

public void setCollectionKeyType(TypeDescriptor collectionKeyType)

isCollection

public boolean isCollection()

isMap

public boolean isMap()

getType

public TypeDescriptor getType()

setType

public void setType(TypeDescriptor type)

getName

public String getName()

setName

public void setName(String name)


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.