public class Property extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://docs.oasis-open.org/s-ramp/ns/s-ramp-v1.0}propertyName"/>
<element ref="{http://docs.oasis-open.org/s-ramp/ns/s-ramp-v1.0}propertyValue"/>
</sequence>
<anyAttribute/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
propertyName |
protected String |
propertyValue |
| Constructor and Description |
|---|
Property() |
| Modifier and Type | Method and Description |
|---|---|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
String |
getPropertyName()
Gets the value of the propertyName property.
|
String |
getPropertyValue()
Gets the value of the propertyValue property.
|
void |
setPropertyName(String value)
Sets the value of the propertyName property.
|
void |
setPropertyValue(String value)
Sets the value of the propertyValue property.
|
protected String propertyName
protected String propertyValue
public String getPropertyName()
Stringpublic void setPropertyName(String value)
value - allowed object is
Stringpublic String getPropertyValue()
Stringpublic void setPropertyValue(String value)
value - allowed object is
Stringpublic Map<QName,String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
Copyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.