public class ExampleObject extends Object
ExampleObjectBuilder
Modifier and Type | Field and Description |
---|---|
String |
description
Deprecated.
use
description() instead |
URI |
externalValue
Deprecated.
use
externalValue() instead |
String |
summary
Deprecated.
use
summary() instead |
Object |
value
Deprecated.
use
value() instead |
Modifier and Type | Method and Description |
---|---|
String |
description() |
URI |
externalValue() |
String |
summary() |
Object |
value() |
void |
writeJson(Writer writer)
Writes this object as a JSON Object
|
@Deprecated public final String summary
summary()
instead@Deprecated public final String description
description()
instead@Deprecated public final Object value
value()
instead@Deprecated public final URI externalValue
externalValue()
insteadpublic void writeJson(Writer writer) throws IOException
writer
- The writer to write toIOException
- Thrown if the writer throws this while writingpublic String summary()
ExampleObjectBuilder.withSummary(java.lang.String)
public String description()
ExampleObjectBuilder.withDescription(java.lang.String)
public Object value()
ExampleObjectBuilder.withValue(java.lang.Object)
public URI externalValue()
ExampleObjectBuilder.withExternalValue(java.net.URI)
Copyright © 2017–2021. All rights reserved.