raccoon.core.bean.utils
Class Property

java.lang.Object
  extended by raccoon.core.bean.utils.Property

public class Property
extends java.lang.Object

Contains various convenience methods related to java bean properties.

Since:
Raccoon v0.8
Version:
$Id: Property.java,v 1.1 2004/08/08 20:19:16 crouvrais Exp $
Author:
Cedric ROUVRAIS

Constructor Summary
protected Property()
          Avoid instanciation of this utility class.
 
Method Summary
static boolean isCollectionProperty(java.lang.Class pObject)
          Checks if the given class represents a collection of some sort.
static java.lang.String toLowerProperty(java.lang.String pPropertyName)
          Converts the first character to a lower case.
static java.lang.String toUpperProperty(java.lang.String pPropertyName)
          Converts the first character to an upper case.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property

protected Property()
Avoid instanciation of this utility class.

Method Detail

toUpperProperty

public static java.lang.String toUpperProperty(java.lang.String pPropertyName)
Converts the first character to an upper case.

Parameters:
pPropertyName - the string to change.
Returns:
the upper case property name.

toLowerProperty

public static java.lang.String toLowerProperty(java.lang.String pPropertyName)
Converts the first character to a lower case.

Parameters:
pPropertyName - the string to change.
Returns:
the lower case property name.

isCollectionProperty

public static boolean isCollectionProperty(java.lang.Class pObject)
Checks if the given class represents a collection of some sort.

Parameters:
pObject - the class instance to check if it is a collection instance
Returns:
true if the given class represents in some way a collection of objects.


Copyright null null. All Rights Reserved.