| Modifier and Type | Class and Description |
|---|---|
static class |
StructuredData.AbstractListBuilder<This extends StructuredData.AbstractListBuilder<This>> |
static class |
StructuredData.AbstractListUpdater<This extends StructuredData.AbstractListUpdater<This>> |
static class |
StructuredData.AbstractMapBuilder<This extends StructuredData.AbstractMapBuilder<This>> |
static class |
StructuredData.Builder |
static class |
StructuredData.InnerListBuilder<Parent extends org.hawkular.inventory.api.model.StructuredData.AbstractHierarchyBuilder> |
static class |
StructuredData.InnerListUpdater<Parent extends org.hawkular.inventory.api.model.StructuredData.AbstractHierarchyBuilder> |
static class |
StructuredData.InnerMapBuilder<Parent extends org.hawkular.inventory.api.model.StructuredData.AbstractHierarchyBuilder> |
static class |
StructuredData.InnerMapUpdater<Parent extends org.hawkular.inventory.api.model.StructuredData.AbstractHierarchyBuilder> |
static class |
StructuredData.ListBuilder |
static class |
StructuredData.ListUpdater |
static class |
StructuredData.MapBuilder |
static class |
StructuredData.MapUpdater |
static class |
StructuredData.Type |
static class |
StructuredData.Updater |
static interface |
StructuredData.Visitor<R,P> |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(StructuredData.Visitor<R,P> visitor,
P parameter) |
boolean |
bool() |
boolean |
equals(Object o) |
double |
floatingPoint() |
static StructuredData.Builder |
get() |
StructuredData.Type |
getType() |
Serializable |
getValue()
Returns the value without much type information.
|
int |
hashCode() |
long |
integral() |
boolean |
isUndefined() |
List<StructuredData> |
list() |
Map<String,StructuredData> |
map() |
String |
string() |
String |
toString() |
StructuredData.Updater |
update()
This instance WILL NOT be modified, the updates will be present in the newly constructed instance.
|
public static StructuredData.Builder get()
public Serializable getValue()
accept(Visitor, Object) method.public boolean isUndefined()
public <R,P> R accept(StructuredData.Visitor<R,P> visitor, P parameter)
public boolean bool()
NullPointerException - if the value is undefinedClassCastException - if the value is not a booleanpublic long integral()
NullPointerException - if the value is undefinedClassCastException - if the value is not integralpublic double floatingPoint()
NullPointerException - if the value is undefinedClassCastException - if the value is not a floating point numberpublic String string()
NullPointerException - if the value is undefinedClassCastException - if the value is not a stringpublic List<StructuredData> list()
NullPointerException - if the value is undefinedClassCastException - if the value is not a listpublic Map<String,StructuredData> map()
NullPointerException - if the value is undefinedClassCastException - if the value is not a mappublic StructuredData.Type getType()
public StructuredData.Updater update()
Copyright © 2015 Red Hat, Inc.. All rights reserved.