|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jdtaus.core.container.ModelObject
org.jdtaus.core.container.Property
public class Property
Property meta-data.
A property consists of the properties name, type and
value. Property name holds the name uniquely identifying the
property in a collection of properties. Property type holds the type
of the property. Property value holds the properties value which is
of type type. The api flag indicates if the property is part
of a public API.
| Constructor Summary | |
|---|---|
Property()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates and returns a copy of this object. |
boolean |
equals(Object o)
Indicates whether some other object is equal to this one by comparing the values of all properties. |
String |
getName()
Gets the name of the property. |
Class |
getType()
Gets the type of the property. |
Object |
getValue()
Gets the value of the property. |
int |
hashCode()
Returns a hash code value for this object. |
boolean |
isApi()
Gets the flag indicating if the property is part of a public API. |
void |
setApi(boolean value)
Setter for property api. |
void |
setName(String value)
Setter for property name. |
void |
setType(Class value)
Setter for property type. |
void |
setValue(Object value)
Setter for property value. |
String |
toString()
Returns a string representation of the object. |
| Methods inherited from class org.jdtaus.core.container.ModelObject |
|---|
getDocumentation, getModelVersion, setDocumentation, setModelVersion |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Property()
| Method Detail |
|---|
public Object clone()
clone in class Objectpublic boolean equals(Object o)
equals in class Objecto - the reference object with which to compare.
true if this object is the same as o;
false otherwise.public String getName()
public Class getType()
public Object getValue()
null.public int hashCode()
hashCode in class Objectpublic boolean isApi()
true if the property is part of a public API.public void setApi(boolean value)
api.
value - true if the property is part of a public API.public void setName(String value)
name.
value - the new name of the property.public void setType(Class value)
type.
value - the new type of the property.public void setValue(Object value)
value.
value - the new value of the property.public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||