public interface AttributableETSComponent extends ETSComponent
ETSComponent
objects that have attributes.
An attribute defines a generic name/value pair that can be assigned to AttributableETSComponent
objects.ETSAttribute
Modifier and Type | Method and Description |
---|---|
String[] |
getAttributeNames()
Gets the unique names of attributes for this
AttributableETSComponent
object. |
ETSAttribute[] |
getAttributes()
Gets all the
ETSAttribute objects associated with this
AttributableETSComponent object. |
ETSAttribute[] |
getAttributes(String name)
Gets the
ETSAttribute objects. |
getCreationDate, getETSID, getImportDate, getLastUpdateDate
String[] getAttributeNames() throws ETSDataException
AttributableETSComponent
object.
The maximum length of the array is 50.AttributableETSComponent
object, or a zero-length array if no
attributes is defined for the AttributableETSComponent
object.ETSDataException
- If a data transport error occurs.ETSAttribute[] getAttributes(String name) throws ETSDataException, ETSBadParameterException
ETSAttribute
objects.name
- Name of the attributes being requested.ETSAttribute
objects, or
a zero-length array if the AttributableETSComponent
does not have the attribute.ETSDataException
- If a data transport error occurs.ETSBadParameterException
- If an invalid attribute name is passed in.
Example, if null
is passed in.ETSAttribute[] getAttributes() throws ETSDataException
ETSAttribute
objects associated with this
AttributableETSComponent
object.ETSAttribute
objects, or
a zero-length array if the component does not have an attribute.ETSDataException
- If a data transport error occurs.HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved