public interface DescriptorAccess extends DescriptorRead
Modifier and Type | Method and Description |
---|---|
void |
setDescriptor(Descriptor descriptor)
Replaces the descriptor of this management element
with the one specified.
|
getDescriptor
void setDescriptor(Descriptor descriptor)
null
, the descriptor of the element
will be returned to its default, which must at least
contain a name and type. If the specified descriptor
is invalid for this management element, an exception
is thrown.descriptor
- the new descriptor to use.DescriptorRead.getDescriptor()