public class ExtendedProperty extends Element
Modifier and Type | Class and Description |
---|---|
static class |
ExtendedProperty.Realm
Limit on who may see and modify this extended property.
|
Modifier and Type | Field and Description |
---|---|
static ElementKey<java.lang.Void,ExtendedProperty> |
KEY
The key for this element.
|
static AttributeKey<java.lang.String> |
NAME
Name of the property expressed as a URI.
|
static AttributeKey<java.lang.String> |
REALM
Limit on who may see and modify this extended property.
|
static AttributeKey<java.lang.String> |
VALUE
Property value.
|
Constructor and Description |
---|
ExtendedProperty()
Constructs an instance using the default key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Returns the name of the property expressed as a URI.
|
java.lang.String |
getRealm()
Returns the limit on who may see and modify this extended property.
|
java.lang.String |
getValue()
Returns the property value.
|
int |
hashCode() |
boolean |
hasName()
Returns whether it has the name of the property expressed as a URI.
|
boolean |
hasRealm()
Returns whether it has the limit on who may see and modify this extended
property.
|
boolean |
hasValue()
Returns whether it has the property value.
|
ExtendedProperty |
lock()
Locks this element.
|
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element.
|
ExtendedProperty |
setName(java.lang.String name)
Sets the name of the property expressed as a URI.
|
ExtendedProperty |
setRealm(java.lang.String realm)
Sets the limit on who may see and modify this extended property.
|
ExtendedProperty |
setValue(java.lang.String value)
Sets the property value.
|
addElement, addElement, addElement, clear, createElement, createElement, getAttributeCount, getAttributeIterator, getAttributeIterator, getAttributeValue, getAttributeValue, getDefaultKey, getElement, getElement, getElementCount, getElementId, getElementIterator, getElementIterator, getElementKey, getElements, getElements, getElementSet, getElementSet, getElementValue, getElementValue, getTextValue, getTextValue, hasAttribute, hasAttribute, hasElement, hasElement, hasTextValue, isLocked, removeAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeElement, removeElement, removeElement, removeElement, replaceElement, resolve, resolve, setAttributeValue, setAttributeValue, setElement, setElement, setElement, setTextValue, toString, visit
public static final ElementKey<java.lang.Void,ExtendedProperty> KEY
public static final AttributeKey<java.lang.String> NAME
public static final AttributeKey<java.lang.String> REALM
public static final AttributeKey<java.lang.String> VALUE
public ExtendedProperty()
public static void registerMetadata(MetadataRegistry registry)
public ExtendedProperty lock()
Element
public java.lang.String getName()
public ExtendedProperty setName(java.lang.String name)
name
- name of the property expressed as a URI or null
to
resetpublic boolean hasName()
public java.lang.String getRealm()
public ExtendedProperty setRealm(java.lang.String realm)
realm
- limit on who may see and modify this extended property or
null
to resetpublic boolean hasRealm()
public java.lang.String getValue()
public ExtendedProperty setValue(java.lang.String value)
value
- property value or null
to resetpublic boolean hasValue()