|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jfree.xml.generator.model.TypeInfo
public class TypeInfo
Retains information about a type.
Constructor Summary | |
---|---|
TypeInfo(java.lang.String name,
java.lang.Class type)
Creates a new instance. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Tests this object for equality with another object. |
Comments |
getComments()
Returns the comments for this type info. |
java.lang.String |
getDescription()
Returns the type description. |
java.lang.String |
getName()
Returns the type name. |
java.lang.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(java.lang.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(java.lang.String name, java.lang.Class type)
name
- the type name (null
not permitted).type
- the class.Method Detail |
---|
public java.lang.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 java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description.public java.lang.String getName()
public Comments getComments()
public void setComments(Comments comments)
comments
- the comments.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the other object.
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |