|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Property<T>
Properties are declared in Composite interfaces by using this interface. It creates a first-class object for the property from which you can get and set the value, and access any metadata about it. The type of the Property can be one of the following:
Method Summary | |
---|---|
T |
get()
Get the value of the property. |
void |
set(T newValue)
Set the value of the property |
Method Detail |
---|
T get()
void set(T newValue) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException
newValue
- the new value
java.lang.IllegalArgumentException
- if the value has an invalid value
java.lang.IllegalStateException
- if the property is immutable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |