public class Property
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name
The name.
|
protected java.lang.String |
type
The property type (defines the kind of property).
|
protected java.lang.String |
value
The value.
|
Constructor and Description |
---|
Property()
Create a new property.
|
Property(java.lang.String type,
java.lang.String value)
Create a new property.
|
Property(java.lang.String name,
java.lang.String type,
java.lang.String value)
Create a new property.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name.
|
java.lang.String |
getType()
Get the type.
|
java.lang.String |
getValue()
Get the value.
|
void |
setName(java.lang.String name)
Set the name.
|
void |
setType(java.lang.String type)
Set the type.
|
void |
setValue(java.lang.String value)
Set the value.
|
java.lang.String |
toString()
Get the string representation.
|
protected java.lang.String name
protected java.lang.String type
protected java.lang.String value
public Property()
public Property(java.lang.String type, java.lang.String value)
public Property(java.lang.String name, java.lang.String type, java.lang.String value)
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public java.lang.String getType()
public void setType(java.lang.String type)
type
- The type to set.public java.lang.String getValue()
public void setValue(java.lang.String value)
public java.lang.String toString()
toString
in class java.lang.Object