|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface SettableBean
A bean which implements this interfaces supports the isSet and unSet methods such that a caller can test if a bean has been changed from its default value and also cause the value to be set back to the default.
| Method Summary | |
|---|---|
boolean |
isSet(String propertyName)
Return true if the given property has been explicitly set in this bean. |
void |
unSet(String propertyName)
Restore the given property to its default value. |
| Method Detail |
|---|
boolean isSet(String propertyName)
throws IllegalArgumentException
propertyName - property to check
IllegalArgumentException - if propertyName is not a recognized
property
void unSet(String propertyName)
throws IllegalArgumentException
propertyName - property to restore
UnsupportedOperationException - if called on a runtime
implementation.
IllegalArgumentException - if propertyName is not a recognized
property
|
Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||