public class IntOrString extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IntOrString.Deserializer |
static class |
IntOrString.Serializer |
Constructor and Description |
---|
IntOrString() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
Integer |
getIntValue() |
String |
getStringValue() |
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setIntValue(Integer intValue) |
void |
setStringValue(String stringValue) |
String |
toString() |
public String getStringValue()
public void setStringValue(String stringValue)
stringValue
- The stringValuepublic Integer getIntValue()
public void setIntValue(Integer intValue)
intValue
- The intValueCopyright © 2011–2014 Red Hat. All rights reserved.