Methods' Details |
addProperty
- Description
- adds a property to the object.
- Parameter aName
- specifies the name of the new property.
- Parameter Attributes
- specifies the property attributes, see PropertyAttribute.
- Parameter DefaultValue
- specifies the type of the new property and a potential default value.
- Throws
- PropertyExistException
if a property with the same name already exists.
- Throws
- IllegalTypeException
if the specified type is not allowed.
|
|
removeProperty
- Description
- removes a property from the object.
- Parameter aName
- specified the name of the property.
- Throws
- UnknownPropertyException
if the property does not exist.
|
|
Top of Page
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.