Property

Inheritance: java.lang.Object

public abstract class Property

Represents a base class of a property.

Methods

MethodDescription
getName()Gets a name of the property.
getValue()Gets a value of the property.
setValue(Object value)Sets a value of the property.
toString()Returns the property value as string.

getName()

public final String getName()

Gets a name of the property.

Returns: java.lang.String - a name of the property.

getValue()

public final Object getValue()

Gets a value of the property.

Returns: java.lang.Object - a value of the property.

setValue(Object value)

public final void setValue(Object value)

Sets a value of the property.

Parameters:

ParameterTypeDescription
valuejava.lang.Objecta value of the property.

toString()

public String toString()

Returns the property value as string.

Returns: java.lang.String - String value.