Package org.jfree.xml.generator.model
Class TypeInfo
- java.lang.Object
-
- org.jfree.xml.generator.model.TypeInfo
-
- Direct Known Subclasses:
PropertyInfo
public class TypeInfo extends Object
Retains information about a type.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
Returnstrue
if the type is constrained, andfalse
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.
-
-
-
Method Detail
-
getType
public Class getType()
Returns the class.- Returns:
- The class.
-
isNullable
public boolean isNullable()
Returns the nullable status.- Returns:
- A boolean.
-
setNullable
public void setNullable(boolean nullable)
Sets the nullable flag.- Parameters:
nullable
- the flag.
-
isConstrained
public boolean isConstrained()
Returnstrue
if the type is constrained, andfalse
otherwise.- Returns:
- A boolean.
-
setConstrained
public void setConstrained(boolean constrained)
Sets the flag that indicates whether or not the type is constrained.- Parameters:
constrained
- the flag.
-
getDescription
public String getDescription()
Returns the type description.- Returns:
- The type description.
-
setDescription
public void setDescription(String description)
Sets the type description.- Parameters:
description
- the description.
-
getName
public String getName()
Returns the type name.- Returns:
- The type name.
-
getComments
public Comments getComments()
Returns the comments for this type info.- Returns:
- The comments.
-
setComments
public void setComments(Comments comments)
Sets the comments for this type info.- Parameters:
comments
- the comments.
-
equals
public boolean equals(Object o)
Tests this object for equality with another object.
-
-