public class TypeInfo extends Object
Constructor and Description |
---|
TypeInfo(String name,
Class type)
Creates a new instance.
|
Modifier and Type | Method and 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()
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.
|
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)
Copyright © 2001–2018 JFree.org. All rights reserved.