info.magnolia.jcr.node2bean
Class PropertyTypeDescriptor

java.lang.Object
  extended by info.magnolia.jcr.node2bean.PropertyTypeDescriptor

public class PropertyTypeDescriptor
extends Object

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


Constructor Summary
PropertyTypeDescriptor()
           
 
Method Summary
 Method getAddMethod()
          Deprecated. since 5.0 - use setter instead.
 TypeDescriptor getCollectionEntryType()
           
 TypeDescriptor getCollectionKeyType()
           
 String getName()
           
 TypeDescriptor getType()
           
 Method getWriteMethod()
           
 boolean isArray()
           
 boolean isCollection()
           
 boolean isMap()
           
 void setAddMethod(Method addMethod)
          Deprecated. since 5.0 - use setter instead.
 void setCollectionEntryType(TypeDescriptor collectionEntryType)
           
 void setCollectionKeyType(TypeDescriptor collectionKeyType)
           
 void setName(String name)
           
 void setType(TypeDescriptor type)
           
 void setWriteMethod(Method writeMethod)
           
 
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

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()

isArray

public boolean isArray()

getType

public TypeDescriptor getType()

setType

public void setType(TypeDescriptor type)

getName

public String getName()

setName

public void setName(String name)

getWriteMethod

public Method getWriteMethod()

setWriteMethod

public void setWriteMethod(Method writeMethod)

getAddMethod

public Method getAddMethod()
Deprecated. since 5.0 - use setter instead.


setAddMethod

public void setAddMethod(Method addMethod)
Deprecated. since 5.0 - use setter instead.



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