|
JCommon 1.0.17-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.xml.generator.model.TypeInfo
public class TypeInfo
Retains information about a type.
Constructor Summary | |
---|---|
TypeInfo(String name,
Class type)
Creates a new instance. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Tests this object for equality with another object. |
Comments |
getComments()
Returns the comments for this type info. |
String |
getDescription()
Returns the type description. |
String |
getName()
Returns the type name. |
Class |
getType()
Returns the class. |
int |
hashCode()
Returns a hash code for this object. |
boolean |
isConstrained()
Returns true if the type is constrained, and false otherwise. |
boolean |
isNullable()
Returns the nullable status. |
void |
setComments(Comments comments)
Sets the comments for this type info. |
void |
setConstrained(boolean constrained)
Sets the flag that indicates whether or not the type is constrained. |
void |
setDescription(String description)
Sets the type description. |
void |
setNullable(boolean nullable)
Sets the nullable flag. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypeInfo(String name, Class type)
name
- the type name (null
not permitted).type
- the class.Method Detail |
---|
public Class getType()
public boolean isNullable()
public void setNullable(boolean nullable)
nullable
- the flag.public boolean isConstrained()
true
if the type is constrained, and false
otherwise.
public void setConstrained(boolean constrained)
constrained
- the flag.public String getDescription()
public void setDescription(String description)
description
- the description.public String getName()
public Comments getComments()
public void setComments(Comments comments)
comments
- the comments.public boolean equals(Object o)
equals
in class Object
o
- the other object.
public int hashCode()
hashCode
in class Object
|
JCommon 1.0.17-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |