javax.rad.type.bean
Class PropertyDefinition

java.lang.Object
  extended by javax.rad.type.bean.PropertyDefinition

public class PropertyDefinition
extends Object

The PropertyDefinition is the property descriptor for a property in IBeanType.


Field Summary
protected  String name
          The property name.
protected  IType<?> type
          The property type.
protected  Class<?> typeClass
          The type class.
 
Constructor Summary
PropertyDefinition(String pName)
          Constructs a new PropertyDefinition.
PropertyDefinition(String pName, IType<?> pType)
          Constructs a new PropertyDefinition for a property name and the property type.
PropertyDefinition(String pName, IType<?> pType, Class<?> pTypeClass)
          Constructs a new PropertyDefinition for a property name and the property type.
 
Method Summary
 String getName()
          Gets the property name.
 IType<?> getType()
          Gets the property type.
 Class<?> getTypeClass()
          Gets the detailed property type class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name
The property name.


type

protected IType<?> type
The property type.


typeClass

protected Class<?> typeClass
The type class.

Constructor Detail

PropertyDefinition

public PropertyDefinition(String pName)
Constructs a new PropertyDefinition.

Parameters:
pName - the property name.

PropertyDefinition

public PropertyDefinition(String pName,
                          IType<?> pType)
Constructs a new PropertyDefinition for a property name and the property type.

Parameters:
pName - the property name.
pType - the property type.

PropertyDefinition

public PropertyDefinition(String pName,
                          IType<?> pType,
                          Class<?> pTypeClass)
Constructs a new PropertyDefinition for a property name and the property type.

Parameters:
pName - the property name.
pType - the property type.
pTypeClass - the type class.
Method Detail

getName

public String getName()
Gets the property name.

Returns:
the property name.

getType

public IType<?> getType()
Gets the property type.

Returns:
the property type.

getTypeClass

public Class<?> getTypeClass()
Gets the detailed property type class.

Returns:
the detailed property type class.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.