public abstract class AbstractQualifierValue extends AbstractBaseComponent
Extensions of this class are generally expected to be immutable, and the underlying XOM element MUST be set before the component is used.
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractQualifierValue.Builder
Abstract Builder for this DDMS component.
|
| Modifier and Type | Field and Description |
|---|---|
protected static String |
QUALIFIER_NAME |
protected static String |
VALUE_NAME |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractQualifierValue()
This implicit superconstructor does nothing.
|
protected |
AbstractQualifierValue(nu.xom.Element element)
Base constructor
|
protected |
AbstractQualifierValue(String name,
String qualifier,
String value,
boolean validateNow)
Constructor which builds from raw data.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Test for logical equality.
|
String |
getQualifier()
Accessor for the value of the qualifier attribute
|
String |
getValue()
Accessor for the value of the value attribute
|
int |
hashCode()
Returns a hashcode for the component.
|
addDdms40Warning, addWarning, addWarnings, buildIndex, buildOutput, buildOutput, buildPrefix, getAttributeValue, getAttributeValue, getChild, getChildTextAsDouble, getDDMSVersion, getLocatorSuffix, getName, getNamespace, getNestedComponents, getOutput, getPrefix, getQualifiedName, getSecurityAttributes, getStringAsDouble, getValidationWarnings, getXOMElement, getXOMElementCopy, requireVersion, setXOMElement, toHTML, toString, toText, toXML, validate, validateWarningsprotected static final String QUALIFIER_NAME
protected static final String VALUE_NAME
protected AbstractQualifierValue()
throws InvalidDDMSException
InvalidDDMSExceptionprotected AbstractQualifierValue(nu.xom.Element element)
throws InvalidDDMSException
element - the XOM element representing this componentInvalidDDMSExceptionprotected AbstractQualifierValue(String name,
String qualifier,
String value,
boolean validateNow)
throws InvalidDDMSException
name - the name of the element without a prefixqualifier - the value of the qualifier attributevalue - the value of the value attributevalidateNow - true to validate the component immediately. Because Source entities have additional fields
they should not be validated in the superconstructor.InvalidDDMSExceptionpublic boolean equals(Object obj)
AbstractBaseComponentThe base case tests against the name value and namespaceURI, as well as any child components classified as "nested components" and any security attributes. Extending classes may require additional rules for equality. This case automatically includes any nested components or security attributes.
equals in class AbstractBaseComponentObject.equals(Object)public int hashCode()
AbstractBaseComponentThis automatically includes any nested components or security attributes.
hashCode in class AbstractBaseComponentObject.hashCode()public String getQualifier()
public String getValue()
Copyright 2010 - 2013 by Brian Uri!
Generated on 12/15/2013 10:22 AM
http://ddmsence.urizone.net/