public class HrefAttributeValue extends Object implements Value<W3CHrefAttribute>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
private String |
unit
Unit of measure
|
private W3CHrefAttribute |
value |
Constructor and Description |
---|
HrefAttributeValue() |
HrefAttributeValue(W3CHrefAttribute value) |
Modifier and Type | Method and Description |
---|---|
String |
getUnit()
Get the unit of measure
|
W3CHrefAttribute |
getValue()
Get the measurement value
|
boolean |
isSetUnit()
Check whether the unit of measure is set
|
boolean |
isSetValue()
Check whether the value is set
|
void |
setUnit(String unit)
Set the unit of measure
|
void |
setValue(W3CHrefAttribute value)
Set the measurment value
|
String |
toString() |
private static final long serialVersionUID
private W3CHrefAttribute value
private String unit
public HrefAttributeValue()
public HrefAttributeValue(W3CHrefAttribute value)
public void setValue(W3CHrefAttribute value)
Value
setValue
in interface Value<W3CHrefAttribute>
value
- Value to setpublic W3CHrefAttribute getValue()
Value
getValue
in interface Value<W3CHrefAttribute>
public void setUnit(String unit)
Value
setUnit
in interface Value<W3CHrefAttribute>
unit
- Unit of measurepublic String getUnit()
Value
getUnit
in interface Value<W3CHrefAttribute>
public boolean isSetValue()
Value
isSetValue
in interface Value<W3CHrefAttribute>
true
, if value is setpublic boolean isSetUnit()
Value
isSetUnit
in interface Value<W3CHrefAttribute>
true
, if unit of measure is setCopyright © 2012-2015 52north.org. All Rights Reserved.