case class NilShape(fields: Fields, annotations: Annotations) extends AnyShape with Product with Serializable
- Alphabetic
- By Inheritance
- NilShape
- Serializable
- Serializable
- Product
- Equals
- AnyShape
- InheritanceChain
- ExternalSourceElement
- DynamicDomainElement
- RamlDatatypeSerializer
- JsonSchemaSerializer
- ShapeHelpers
- JsonSchemaSecrets
- Shape
- NamedDomainElement
- Linkable
- DomainElement
- AmfObject
- AmfElement
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new NilShape(fields: Fields, annotations: Annotations)
Type Members
-
type
FacetsMap = Map[String, PropertyShape]
- Definition Classes
- Shape
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
add(field: Field, value: AmfElement): NilShape.this.type
- Definition Classes
- AmfObject
-
def
add(other: Annotations): NilShape.this.type
- Definition Classes
- AmfElement
-
def
add(annotation: Annotation): NilShape.this.type
- Definition Classes
- AmfElement
-
def
addSubType(shape: Shape): Unit
- Definition Classes
- InheritanceChain
-
def
addSuperType(shape: Shape): Unit
- Definition Classes
- InheritanceChain
-
def
adopted(parent: String): NilShape.this.type
- Definition Classes
- AmfObject
-
def
afterResolve(fatherSyntaxKey: Option[String], resolvedId: String): Unit
- Definition Classes
- Linkable
-
def
and: Seq[Shape]
- Definition Classes
- Shape
- val annotations: Annotations
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
buildFixPoint(id: Option[String], name: String, link: Linkable, recursionErrorHandler: Option[ErrorHandler]): RecursiveShape
- Attributes
- protected
- Definition Classes
- ShapeHelpers
-
def
buildJsonSchema(): String
- Definition Classes
- AnyShape
-
def
buildRamlDatatype(): String
Generates a new RAML Data Type.
Generates a new RAML Data Type.
- Definition Classes
- AnyShape
-
def
classConstructor: (Fields, Annotations) ⇒ Linkable with DomainElement
apply method for create a new instance with fields and annotations.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
cloneAllExamples(cloned: Shape, s: Shape): Unit
- Definition Classes
- ShapeHelpers
-
def
cloneShape(recursionErrorHandler: Option[ErrorHandler], withRecursionBase: Option[String] = None, traversed: IdsTraversionCheck = IdsTraversionCheck(), cloneExamples: Boolean = false): NilShape.this.type
- Definition Classes
- ShapeHelpers
-
val
closureShapes: Set[Shape]
- Definition Classes
- Shape
-
def
collectCustomShapePropertyDefinitions(onlyInherited: Boolean, traversed: Set[String]): Seq[FacetsMap]
- Definition Classes
- Shape
-
def
componentId: String
Value , path + field value that is used to compose the id when the object its adopted
-
def
computeSubtypesClosure(): Seq[Shape]
- Attributes
- protected
- Definition Classes
- InheritanceChain
-
def
copyAnyShape(fields: Fields = fields, annotations: Annotations = annotations): AnyShape
- Definition Classes
- AnyShape
-
def
copyElement(a: Annotations): Linkable with DomainElement
- Definition Classes
- Linkable
-
def
copyElement(): Linkable with DomainElement
- Definition Classes
- Linkable
-
def
copyFields(recursionErrorHandler: Option[ErrorHandler], cloned: Shape, recursionBase: Option[String], traversed: IdsTraversionCheck): Unit
- Attributes
- protected
- Definition Classes
- Shape
-
def
copyShape(): NilShape.this.type
- Definition Classes
- AnyShape → Shape
-
def
copyShape(a: Annotations): NilShape.this.type
- Definition Classes
- Shape
-
def
customDomainProperties: Seq[DomainExtension]
- Definition Classes
- DomainElement
-
def
customShapeProperties: Seq[ShapeExtension]
- Definition Classes
- Shape
-
def
customShapePropertyDefinitions: Seq[PropertyShape]
- Definition Classes
- Shape
-
def
default: DataNode
- Definition Classes
- Shape
-
def
defaultString: StrField
- Definition Classes
- Shape
-
def
description: StrField
- Definition Classes
- Shape
-
def
displayName: StrField
- Definition Classes
- Shape
-
def
documentation: CreativeWork
- Definition Classes
- AnyShape
-
def
effectiveInherits: Seq[Shape]
- Definition Classes
- Shape
-
def
effectiveLinkTarget(links: Seq[String]): DomainElement
- Definition Classes
- Linkable
-
def
effectiveStructuralShapes: Seq[Shape]
- Definition Classes
- InheritanceChain
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
examples: Seq[Example]
- Definition Classes
- AnyShape
-
def
extend: Seq[DomainElement]
- Definition Classes
- DomainElement
-
def
externalSourceID: Option[String]
- Definition Classes
- ShapeHelpers
- val fields: Fields
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromExternalSource: Boolean
- Definition Classes
- ShapeHelpers
-
def
fromLocal(): Boolean
- Definition Classes
- AmfElement
-
def
fromTypeExpression: Boolean
- Definition Classes
- ShapeHelpers
-
def
generateJsonSchema(element: AnyShape): String
- Attributes
- protected
- Definition Classes
- JsonSchemaSerializer
-
def
generateRamlDatatype(element: AnyShape): String
Generates a new RAML Data Type included in RAML 1.0 Library.
Generates a new RAML Data Type included in RAML 1.0 Library.
- Attributes
- protected
- Definition Classes
- RamlDatatypeSerializer
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
lazy val
graph: Graph
- Definition Classes
- DomainElement
-
val
id: String
- Definition Classes
- AmfObject
-
val
inheritedIds: Seq[String]
- Definition Classes
- InheritanceChain
-
def
inherits: Seq[Shape]
- Definition Classes
- Shape
-
def
inlined: Boolean
- Attributes
- protected
- Definition Classes
- AnyShape
-
def
isDefaultEmpty: Boolean
Aux method to know when the shape is instance only of any shape and it's because was parsed from an empty (or only with example) payload, an not an explicit type def
Aux method to know when the shape is instance only of any shape and it's because was parsed from an empty (or only with example) payload, an not an explicit type def
- Definition Classes
- AnyShape
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isLink: Boolean
- Definition Classes
- Linkable
-
def
isTrackedBy(trackId: String): Boolean
- Definition Classes
- AmfElement
-
val
isUnresolved: Boolean
- Definition Classes
- Linkable
-
def
link[T](label: String, annotations: Annotations): T
- Definition Classes
- Linkable
-
val
linkAnnotations: Option[Annotations]
- Definition Classes
- Linkable
- def linkCopy(): NilShape
-
def
linkLabel: StrField
- Definition Classes
- Linkable
-
def
linkSubType(shape: AnyShape): Unit
- Definition Classes
- InheritanceChain
-
def
linkTarget: Option[DomainElement]
- Definition Classes
- Linkable
-
def
location(): Option[String]
- Definition Classes
- ExternalSourceElement → AmfElement
- val meta: AnyShapeModel
-
def
name: StrField
- Definition Classes
- NamedDomainElement
-
def
nameField: Field
- Attributes
- protected
- Definition Classes
- Shape → NamedDomainElement
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
not: Shape
- Definition Classes
- Shape
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
or: Seq[Shape]
- Definition Classes
- Shape
-
def
parameterValidator(mediaType: String, env: Environment = Environment()): Option[PayloadValidator]
- Definition Classes
- AnyShape
-
def
payloadValidator(mediaType: String, env: Environment = Environment()): Option[PayloadValidator]
- Definition Classes
- AnyShape
-
def
payloadValidator(shape: Shape, validationMode: ValidationMode): PlatformPayloadValidator
- Attributes
- protected
- Definition Classes
- JsonSchemaSecrets
-
def
position(): Option[LexicalInformation]
- Definition Classes
- AmfElement
- def ramlSyntaxKey: String
-
def
raw: StrField
- Definition Classes
- ExternalSourceElement
-
val
refAst: Option[YPart]
- Definition Classes
- Linkable
-
val
refCtx: Option[ParserContext]
- Definition Classes
- Linkable
-
val
refName: String
- Definition Classes
- Linkable
-
def
referenceId: StrField
- Definition Classes
- ExternalSourceElement
-
def
resolveUnreferencedLink[T](label: String, annotations: Annotations, unresolved: T, supportsRecursion: Boolean): T
- Definition Classes
- Linkable
-
def
set(field: Field, value: AmfElement, annotations: Annotations): NilShape.this.type
- Definition Classes
- AmfObject
-
def
set(field: Field, value: AmfElement): NilShape.this.type
- Definition Classes
- AmfObject
-
def
set(field: Field, values: Seq[String]): NilShape.this.type
- Definition Classes
- AmfObject
-
def
set(field: Field, value: Float): NilShape.this.type
- Definition Classes
- AmfObject
-
def
set(field: Field, value: Double): NilShape.this.type
- Definition Classes
- AmfObject
-
def
set(field: Field, value: Int): NilShape.this.type
- Definition Classes
- AmfObject
-
def
set(field: Field, value: Boolean): NilShape.this.type
- Definition Classes
- AmfObject
-
def
set(field: Field, value: String): NilShape.this.type
- Definition Classes
- AmfObject
-
def
setArray(field: Field, values: Seq[AmfElement], annotations: Annotations): NilShape.this.type
- Definition Classes
- AmfObject
-
def
setArray(field: Field, values: Seq[AmfElement]): NilShape.this.type
- Definition Classes
- AmfObject
-
def
setArrayWithoutId(field: Field, values: Seq[AmfElement], annotations: Annotations): NilShape.this.type
- Definition Classes
- AmfObject
-
def
setArrayWithoutId(field: Field, values: Seq[AmfElement]): NilShape.this.type
- Definition Classes
- AmfObject
-
val
shouldLink: Boolean
- Attributes
- protected
- Definition Classes
- Linkable
-
final
def
simpleAdoption(parent: String): NilShape.this.type
- Definition Classes
- AmfObject
-
val
subTypes: Seq[Shape]
- Definition Classes
- InheritanceChain
-
val
superTypes: Seq[Shape]
- Definition Classes
- InheritanceChain
-
def
supportsInheritance: Boolean
- Definition Classes
- InheritanceChain
-
def
supportsRecursion: BoolField
- Definition Classes
- Linkable
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toFutureRef(resolve: (Linkable) ⇒ Unit): Unit
- Definition Classes
- Linkable
-
def
toJsonSchema: String
- Definition Classes
- AnyShape
-
def
toJsonSchema(element: AnyShape): String
- Attributes
- protected
- Definition Classes
- JsonSchemaSerializer
-
def
toRamlDatatype: String
Delegates generation of a new RAML Data Type or returns cached one if it was generated before.
Delegates generation of a new RAML Data Type or returns cached one if it was generated before.
- Definition Classes
- AnyShape
-
def
toRamlDatatype(element: AnyShape): String
Delegates generation of a new RAML Data Type or returns cached one if it was generated before.
Delegates generation of a new RAML Data Type or returns cached one if it was generated before.
- Attributes
- protected
- Definition Classes
- RamlDatatypeSerializer
-
def
trackedExample(trackId: String): Option[Example]
- Definition Classes
- AnyShape
-
def
typeExpression(eh: ErrorHandler): String
- Definition Classes
- ShapeHelpers
-
def
unresolved(refName: String, refAst: YPart, unresolvedSeverity: String)(implicit ctx: ParserContext): DomainElement with Linkable
- Definition Classes
- Linkable
-
val
unresolvedSeverity: String
- Definition Classes
- Linkable
-
def
validate(fragment: PayloadFragment): Future[AMFValidationReport]
- Definition Classes
- AnyShape
-
def
validate(fragment: PayloadFragment, env: Environment): Future[AMFValidationReport]
- Definition Classes
- AnyShape
-
def
validate(payload: String): Future[AMFValidationReport]
- Definition Classes
- AnyShape
-
def
validate(payload: String, env: Environment): Future[AMFValidationReport]
- Definition Classes
- AnyShape
-
def
validateParameter(payload: String): Future[AMFValidationReport]
- Definition Classes
- AnyShape
-
def
validateParameter(payload: String, env: Environment): Future[AMFValidationReport]
- Definition Classes
- AnyShape
-
def
valueForField(f: Field): Option[Value]
- Definition Classes
- ExternalSourceElement → DynamicDomainElement
-
def
values: Seq[DataNode]
- Definition Classes
- Shape
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
withAnd(subShapes: Seq[Shape]): NilShape.this.type
- Definition Classes
- Shape
-
def
withCustomDomainProperties(extensions: Seq[DomainExtension]): NilShape.this.type
- Definition Classes
- DomainElement
-
def
withCustomDomainProperty(extensions: DomainExtension): NilShape.this.type
- Definition Classes
- DomainElement
-
def
withCustomShapeProperties(properties: Seq[ShapeExtension]): NilShape.this.type
- Definition Classes
- Shape
-
def
withCustomShapePropertyDefinition(name: String): PropertyShape
- Definition Classes
- Shape
-
def
withCustomShapePropertyDefinitions(propertyDefinitions: Seq[PropertyShape]): NilShape.this.type
- Definition Classes
- Shape
-
def
withDefault(default: DataNode): NilShape.this.type
- Definition Classes
- Shape
-
def
withDefaultStr(value: String): NilShape.this.type
- Definition Classes
- Shape
-
def
withDescription(description: String): NilShape.this.type
- Definition Classes
- Shape
-
def
withDisplayName(name: String): NilShape.this.type
- Definition Classes
- Shape
-
def
withDocumentation(documentation: CreativeWork): NilShape.this.type
- Definition Classes
- AnyShape
-
def
withExample(name: Option[String]): Example
- Definition Classes
- AnyShape
-
def
withExamples(examples: Seq[Example]): NilShape.this.type
- Definition Classes
- AnyShape
-
def
withExtends(extend: Seq[DomainElement]): NilShape.this.type
- Definition Classes
- DomainElement
-
def
withId(value: String): NilShape.this.type
- Definition Classes
- AmfObject
-
def
withInherits(inherits: Seq[Shape]): NilShape.this.type
- Definition Classes
- Shape
-
def
withLinkLabel(label: String): NilShape.this.type
- Definition Classes
- Linkable
-
def
withLinkTarget(target: DomainElement): NilShape.this.type
- Definition Classes
- Linkable
-
def
withName(name: String, a: Annotations): NilShape.this.type
- Definition Classes
- NamedDomainElement
-
def
withNot(shape: Shape): NilShape.this.type
- Definition Classes
- Shape
-
def
withOr(subShapes: Seq[Shape]): NilShape.this.type
- Definition Classes
- Shape
-
def
withReference(id: String): NilShape.this.type
- Definition Classes
- ExternalSourceElement
-
def
withSupportsRecursion(recursive: Boolean): NilShape.this.type
- Definition Classes
- Linkable
-
def
withValues(values: Seq[DataNode]): NilShape.this.type
- Definition Classes
- Shape
-
def
withXMLSerialization(xmlSerialization: XMLSerializer): NilShape.this.type
- Definition Classes
- AnyShape
-
def
withXone(subShapes: Seq[Shape]): NilShape.this.type
- Definition Classes
- Shape
-
def
xmlSerialization: XMLSerializer
- Definition Classes
- AnyShape
-
def
xone: Seq[Shape]
- Definition Classes
- Shape