| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private final String | |
| private static final int | |
| public static final StructuredDataId | META
RFC 5424 Meta. |
| private final String | |
| private final String[] | |
| public static final StructuredDataId | ORIGIN
RFC 5424 Origin. |
| private final String[] | |
| public static final String | RESERVED
Reserved enterprise number. |
| private static final long | |
| public static final StructuredDataId | TIME_QUALITY
RFC 5424 Time Quality. |
| Access | Constructor and Description |
|---|---|
| public | StructuredDataId(final String
The Structured Data Element name (maximum length is 32) name)Creates a StructuredDataId based on the name. |
| public | StructuredDataId(final String
The Structured Data Element name. name, final int The maximum length of the name. maxLength)Creates a StructuredDataId based on the name. |
| public | StructuredDataId(final String
The name portion of the id. name, final String[] The list of keys that are required for this id. required, final String[] The list of keys that are optional for this id. optional)
|
| public | StructuredDataId(final String
The name portion of the id. name, final String[] The list of keys that are required for this id. required, final String[] The list of keys that are optional for this id. optional, int The maximum length of the id's name. maxLength)A Constructor that helps conformance to RFC 5424. |
| public | StructuredDataId(final String
The name portion of the id. name, final String The enterprise number. enterpriseNumber, final String[] The list of keys that are required for this id. required, final String[] The list of keys that are optional for this id. optional)A Constructor that helps conformance to RFC 5424. |
| public | StructuredDataId(final String
The name portion of the id. name, final int The enterprise number. enterpriseNumber, final String[] The list of keys that are required for this id. required, final String[] The list of keys that are optional for this id. optional)
Deprecated
Use
StructuredDataId(String, String, String[], String[]) instead.
A Constructor that helps conformance to RFC 5424. |
| public | StructuredDataId(final String
The name portion of the id. name, final String The enterprise number. enterpriseNumber, final String[] The list of keys that are required for this id. required, final String[] The list of keys that are optional for this id. optional, final int The maximum length of the StructuredData Id key. maxLength)A Constructor that helps conformance to RFC 5424. |
| public | StructuredDataId(final String
The name portion of the id. name, final int The enterprise number. enterpriseNumber, final String[] The list of keys that are required for this id. required, final String[] The list of keys that are optional for this id. optional, final int The maximum length of the StructuredData Id key. maxLength)
Deprecated
Use
StructuredDataId(String, String, String[], String[], int) instead.
A Constructor that helps conformance to RFC 5424. |
| Modifier and Type | Method and Description |
|---|---|
| public void | formatTo(final StringBuilder
the StringBuilder to write into buffer)Implements org. Writes a text representation of this object into the specified |
| public String | |
| public String | |
| public String[] | Returns: a List of optional keys or null if none have been provided.Returns a list of optional keys. |
| public String[] | Returns: a List of required keys or null if none have been provided.Returns a list of required keys. |
| public boolean | Returns: true if the id uses the reserved enterprise number, false otherwise.Indicates if the id is reserved. |
| public StructuredDataId | Returns: the new StructuredDataId.The original StructuredDataId. id)Creates an id using another id to supply default values. |
| public StructuredDataId | |
| public final StructuredDataId | Returns: a StructuredDataId.The default id to use if this StructuredDataId doesn't have a name. defaultId, final int The enterprise number. anEnterpriseNumber)
Deprecated
Use
StructuredDataId#makeId(String, String) instead
Creates an id based on the current id. |
| public String |
| AT_SIGN | back to summary |
|---|---|
| private static final String AT_SIGN | |
| enterpriseNumber | back to summary |
|---|---|
| private final String enterpriseNumber | |
| MAX_LENGTH | back to summary |
|---|---|
| private static final int MAX_LENGTH | |
| META | back to summary |
|---|---|
| public static final StructuredDataId META RFC 5424 Meta. | |
| name | back to summary |
|---|---|
| private final String name | |
| optional | back to summary |
|---|---|
| private final String[] optional | |
| ORIGIN | back to summary |
|---|---|
| public static final StructuredDataId ORIGIN RFC 5424 Origin. | |
| required | back to summary |
|---|---|
| private final String[] required | |
| RESERVED | back to summary |
|---|---|
| public static final String RESERVED Reserved enterprise number. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| TIME_QUALITY | back to summary |
|---|---|
| public static final StructuredDataId TIME_QUALITY RFC 5424 Time Quality. | |
| StructuredDataId | back to summary |
|---|---|
| public StructuredDataId(final String name) Creates a StructuredDataId based on the name.
| |
| StructuredDataId | back to summary |
|---|---|
| public StructuredDataId(final String name, final int maxLength) Creates a StructuredDataId based on the name.
| |
| StructuredDataId | back to summary |
|---|---|
| public StructuredDataId(final String name, final String[] required, final String[] optional) | |
| StructuredDataId | back to summary |
|---|---|
| public StructuredDataId(final String name, final String[] required, final String[] optional, int maxLength) A Constructor that helps conformance to RFC 5424. | |
| StructuredDataId | back to summary |
|---|---|
| public StructuredDataId(final String name, final String enterpriseNumber, final String[] required, final String[] optional) A Constructor that helps conformance to RFC 5424. | |
| StructuredDataId | back to summary |
|---|---|
| public StructuredDataId(final String name, final int enterpriseNumber, final String[] required, final String[] optional)
Deprecated Use A Constructor that helps conformance to RFC 5424.
| |
| StructuredDataId | back to summary |
|---|---|
| public StructuredDataId(final String name, final String enterpriseNumber, final String[] required, final String[] optional, final int maxLength) A Constructor that helps conformance to RFC 5424. | |
| StructuredDataId | back to summary |
|---|---|
| public StructuredDataId(final String name, final int enterpriseNumber, final String[] required, final String[] optional, final int maxLength)
Deprecated Use A Constructor that helps conformance to RFC 5424.
| |
| formatTo | back to summary |
|---|---|
| public void formatTo(final StringBuilder buffer) Implements org. Doc from org. Writes a text representation of this object into the specified
| |
| getEnterpriseNumber | back to summary |
|---|---|
| public String getEnterpriseNumber() Returns the enterprise number.
| |
| getName | back to summary |
|---|---|
| public String getName() Returns the StructuredDataId name.
| |
| getOptional | back to summary |
|---|---|
| public String[] getOptional() Returns a list of optional keys.
| |
| getRequired | back to summary |
|---|---|
| public String[] getRequired() Returns a list of required keys.
| |
| isReserved | back to summary |
|---|---|
| public boolean isReserved() Indicates if the id is reserved.
| |
| makeId | back to summary |
|---|---|
| public StructuredDataId makeId(final StructuredDataId id) Creates an id using another id to supply default values.
| |
| makeId | back to summary |
|---|---|
| public StructuredDataId makeId(final String defaultId, final String anEnterpriseNumber) Creates an id based on the current id.
| |
| makeId | back to summary |
|---|---|
| public final StructuredDataId makeId(final String defaultId, final int anEnterpriseNumber)
Deprecated Use Creates an id based on the current id.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |