public class DataElementImpl extends RAMLLanguageElementImpl implements DataElement
| Modifier | Constructor and Description |
|---|---|
protected |
DataElementImpl() |
|
DataElementImpl(Object jsNode,
JavaNodeFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
List<AnnotationRef> |
annotations() |
String |
default_() |
MarkdownString |
description() |
String |
displayName() |
String |
example() |
List<ExampleSpec> |
examples() |
List<DataElement> |
facets() |
ModelLocation |
location() |
LocationKind |
locationKind() |
String |
name() |
Boolean |
repeat() |
Boolean |
required() |
String |
schema() |
List<String> |
type() |
String |
usage() |
XMLInfo |
xml() |
getAttribute, getAttributes, getElement, getElements, getErrors, toJSON, toJSONclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetErrorspublic DataElementImpl(Object jsNode, JavaNodeFactory factory)
protected DataElementImpl()
public String name()
name in interface DataElementpublic XMLInfo xml()
xml in interface DataElementpublic List<DataElement> facets()
facets in interface DataElementpublic String schema()
schema in interface DataElementpublic String usage()
usage in interface DataElementpublic List<String> type()
type in interface DataElementpublic ModelLocation location()
location in interface DataElementpublic LocationKind locationKind()
locationKind in interface DataElementpublic String default_()
default_ in interface DataElementpublic String example()
example in interface DataElementpublic List<ExampleSpec> examples()
examples in interface DataElementpublic Boolean repeat()
repeat in interface DataElementpublic Boolean required()
required in interface DataElementpublic String displayName()
displayName in interface RAMLLanguageElementdisplayName in interface DataElementdisplayName in class RAMLLanguageElementImplpublic MarkdownString description()
description in interface RAMLLanguageElementdescription in interface DataElementdescription in class RAMLLanguageElementImplpublic List<AnnotationRef> annotations()
annotations in interface RAMLLanguageElementannotations in interface DataElementannotations in class RAMLLanguageElementImplCopyright © 2016 RAML. All rights reserved.