public class Property
extends java.lang.Object
Property
.Constructor and Description |
---|
Property()
This method creates a new Property object.
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxLength()
This method returns the max length.
|
int |
getMinLength()
This method returns the min length.
|
java.lang.String |
getName()
This method returns the name.
|
void |
setMaxLength(int maxLength)
This method sets the max length.
|
void |
setMinLength(int minLength)
This method sets the min length.
|
void |
setName(java.lang.String name)
This method sets the name.
|
java.lang.String |
toString()
This method creates a string representation of the object.
|
public void setMaxLength(int maxLength)
maxLength
- max length to set.public int getMaxLength()
public void setMinLength(int minLength)
minLength
- The min length to set.public int getMinLength()
public void setName(java.lang.String name)
name
- The name to set.public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object