RichFaces CDK Generator 4.2.0.CR1

org.richfaces.cdk.model
Class ClassName

java.lang.Object
  extended by org.richfaces.cdk.model.ClassName
All Implemented Interfaces:
Serializable, Comparable<ClassName>

public class ClassName
extends Object
implements Serializable, Comparable<ClassName>

Tthat class represents information about Jsf object class.

Author:
asmirnov@exadel.com
See Also:
Serialized Form

Constructor Summary
ClassName(Class<?> cl)
          

ClassName(String name)
          

 
Method Summary
 int compareTo(ClassName o)
           
 boolean equals(Object obj)
           
static ClassName get(Class name)
           
static ClassName get(String name)
           
 String getBoxingName()
          

 String getDefaultValue()
           
 String getGetterPrefix()
           
 String getName()
          

 String getPackage()
          

 String getSimpleBoxingName()
          

Return simple name for boxing class: Booilean,Integer etc.

 String getSimpleName()
           
 String getTypeParameters()
          

 int hashCode()
           
 boolean isPrimitive()
          

static ClassName parseName(String name)
          

Factory method to create class names.

 void setTypeParameters(String typeParameters)
          

 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassName

public ClassName(Class<?> cl)

Parameters:
cl -

ClassName

public ClassName(String name)

Parameters:
name -
Method Detail

parseName

public static ClassName parseName(String name)

Factory method to create class names. For empty or null name, returns null

Parameters:
name - fully-cvalified class name
Returns:
new class name instance or null.

get

public static ClassName get(String name)

get

public static ClassName get(Class name)

getTypeParameters

public String getTypeParameters()

Returns:
the typeParameters

setTypeParameters

public void setTypeParameters(String typeParameters)

Parameters:
typeParameters - the typeParameters to set

getName

public String getName()

Returns:
the name

getPackage

public String getPackage()

Returns:
package name.

getSimpleName

public String getSimpleName()

getSimpleBoxingName

public String getSimpleBoxingName()

Return simple name for boxing class: Booilean,Integer etc.

Returns:

isPrimitive

public boolean isPrimitive()

Returns:
the primitive

getDefaultValue

public String getDefaultValue()

getBoxingName

public String getBoxingName()

Returns:
the boxingClassName

getGetterPrefix

public String getGetterPrefix()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

compareTo

public int compareTo(ClassName o)
Specified by:
compareTo in interface Comparable<ClassName>

RichFaces CDK Generator 4.2.0.CR1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.