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.
 
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.
 
Method Summary
 String getName()
          Gets the property name.
 IType<?> getType()
          Gets the property type.
 
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.

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.
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.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.