org.jvnet.jax_ws_commons.json.schema
Class CompositeJsonType
java.lang.Object
org.jvnet.jax_ws_commons.json.schema.JsonType
org.jvnet.jax_ws_commons.json.schema.CompositeJsonType
public class CompositeJsonType
- extends JsonType
JavaScript object.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
properties
public final java.util.Map<java.lang.String,JsonType> properties
CompositeJsonType
public CompositeJsonType(java.lang.String name)
getName
public java.lang.String getName()
getLink
public java.lang.String getLink()
- Description copied from class:
JsonType
- Possibly generates a hyperlink to this type.
- Specified by:
getLink in class JsonType
unwrap
public JsonType unwrap()
- Description copied from class:
JsonType
- If this object type is the composite type that only has one property, returns its type.
- Overrides:
unwrap in class JsonType
listCompositeTypes
public void listCompositeTypes(java.util.Set<CompositeJsonType> result)
- Description copied from class:
JsonType
- List up all the
CompositeJsonTypes reachable from this type.
- Overrides:
listCompositeTypes in class JsonType
getProperties
public java.util.Map<java.lang.String,JsonType> getProperties()