class AnyShape extends Shape with JsonSchemaSecrets with ShapeHelpers with JsonSchemaSerializer with ExternalSourceElement with InheritanceChain
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- AnyShape
- InheritanceChain
- ExternalSourceElement
- DynamicDomainElement
- JsonSchemaSerializer
- ShapeHelpers
- JsonSchemaSecrets
- Shape
- NamedDomainElement
- Linkable
- DomainElement
- AmfObject
- AmfElement
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new AnyShape(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): AnyShape.this.type
- Definition Classes
- AmfObject
-
def
add(other: Annotations): AnyShape.this.type
- Definition Classes
- AmfElement
-
def
add(annotation: Annotation): AnyShape.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): AnyShape.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
- Definition Classes
- AnyShape → ExternalSourceElement → AmfElement
-
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
-
def
classConstructor: (Fields, Annotations) ⇒ Linkable with DomainElement
apply method for create a new instance with fields and annotations.
apply method for create a new instance with fields and annotations. Aux method for copy
- Attributes
- protected
- Definition Classes
- AnyShape → Linkable
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
cloneShape(recursionErrorHandler: Option[ErrorHandler], withRecursionBase: Option[String] = None, traversed: IdsTraversionCheck = IdsTraversionCheck()): AnyShape.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
Value , path + field value that is used to compose the id when the object its adopted
- Definition Classes
- AnyShape → AmfObject
-
def
computeSubtypesClosure(): Seq[Shape]
- Attributes
- protected
- Definition Classes
- InheritanceChain
- def copyAnyShape(fields: Fields = fields, annotations: Annotations = annotations): 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(): AnyShape.this.type
- Definition Classes
- AnyShape → Shape
-
def
copyShape(a: Annotations): AnyShape.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
-
def
dynamicFields: List[Field]
- Definition Classes
- ExternalSourceElement → DynamicDomainElement
-
def
dynamicType: List[ValueType]
- Definition Classes
- ExternalSourceElement → DynamicDomainElement
-
def
dynamicTypes(): Seq[String]
- Definition Classes
- DynamicDomainElement → AmfObject
-
def
effectiveInherits: Seq[Shape]
- Definition Classes
- Shape
-
def
effectiveLinkTarget: DomainElement
- Definition Classes
- Linkable
-
def
effectiveStructuralShapes: Seq[Shape]
- Definition Classes
- InheritanceChain
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def examples: Seq[Example]
-
def
extend: Seq[DomainElement]
- Definition Classes
- DomainElement
-
def
externalSourceID: Option[String]
- Definition Classes
- ShapeHelpers
-
val
fields: Fields
- Definition Classes
- AnyShape → ExternalSourceElement → AmfObject
-
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
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
lazy val
graph: Graph
- Definition Classes
- DomainElement
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
-
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
-
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(): AnyShape
- Definition Classes
- AnyShape → Linkable
-
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
-
def
meta: AnyShapeModel
- Definition Classes
- AnyShape → DomainElement
-
def
name: StrField
- 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]
- def payloadValidator(mediaType: String, env: Environment = Environment()): Option[PayloadValidator]
-
def
payloadValidator(shape: Shape, validationMode: ValidationMode): PlatformPayloadValidator
- Attributes
- protected
- Definition Classes
- JsonSchemaSecrets
-
def
position(): Option[LexicalInformation]
- Definition Classes
- AmfElement
-
def
ramlSyntaxKey: String
- Definition Classes
- AnyShape → Shape
-
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): AnyShape.this.type
- Definition Classes
- AmfObject
-
def
set(field: Field, value: AmfElement): AnyShape.this.type
- Definition Classes
- AmfObject
-
def
set(field: Field, values: Seq[String]): AnyShape.this.type
- Definition Classes
- AmfObject
-
def
set(field: Field, value: Float): AnyShape.this.type
- Definition Classes
- AmfObject
-
def
set(field: Field, value: Double): AnyShape.this.type
- Definition Classes
- AmfObject
-
def
set(field: Field, value: Int): AnyShape.this.type
- Definition Classes
- AmfObject
-
def
set(field: Field, value: Boolean): AnyShape.this.type
- Definition Classes
- AmfObject
-
def
set(field: Field, value: String): AnyShape.this.type
- Definition Classes
- AmfObject
-
def
setArray(field: Field, values: Seq[AmfElement], annotations: Annotations): AnyShape.this.type
- Definition Classes
- AmfObject
-
def
setArray(field: Field, values: Seq[AmfElement]): AnyShape.this.type
- Definition Classes
- AmfObject
-
def
setArrayWithoutId(field: Field, values: Seq[AmfElement], annotations: Annotations): AnyShape.this.type
- Definition Classes
- AmfObject
-
def
setArrayWithoutId(field: Field, values: Seq[AmfElement]): AnyShape.this.type
- Definition Classes
- AmfObject
-
val
shouldLink: Boolean
- Attributes
- protected
- Definition Classes
- Linkable
-
final
def
simpleAdoption(parent: String): AnyShape.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
-
def
toJsonSchema(element: AnyShape): String
- Attributes
- protected
- Definition Classes
- JsonSchemaSerializer
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def trackedExample(trackId: String): Option[Example]
-
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]
- def validate(fragment: PayloadFragment, env: Environment): Future[AMFValidationReport]
- def validate(payload: String): Future[AMFValidationReport]
- def validate(payload: String, env: Environment): Future[AMFValidationReport]
- def validateParameter(payload: String): Future[AMFValidationReport]
- def validateParameter(payload: String, env: Environment): Future[AMFValidationReport]
-
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]): AnyShape.this.type
- Definition Classes
- Shape
-
def
withCustomDomainProperties(extensions: Seq[DomainExtension]): AnyShape.this.type
- Definition Classes
- DomainElement
-
def
withCustomDomainProperty(extensions: DomainExtension): AnyShape.this.type
- Definition Classes
- DomainElement
-
def
withCustomShapeProperties(properties: Seq[ShapeExtension]): AnyShape.this.type
- Definition Classes
- Shape
-
def
withCustomShapePropertyDefinition(name: String): PropertyShape
- Definition Classes
- Shape
-
def
withCustomShapePropertyDefinitions(propertyDefinitions: Seq[PropertyShape]): AnyShape.this.type
- Definition Classes
- Shape
-
def
withDefault(default: DataNode): AnyShape.this.type
- Definition Classes
- Shape
-
def
withDefaultStr(value: String): AnyShape.this.type
- Definition Classes
- Shape
-
def
withDescription(description: String): AnyShape.this.type
- Definition Classes
- Shape
-
def
withDisplayName(name: String): AnyShape.this.type
- Definition Classes
- Shape
- def withDocumentation(documentation: CreativeWork): AnyShape.this.type
- def withExample(name: Option[String]): Example
- def withExamples(examples: Seq[Example]): AnyShape.this.type
-
def
withExtends(extend: Seq[DomainElement]): AnyShape.this.type
- Definition Classes
- DomainElement
-
def
withId(value: String): AnyShape.this.type
- Definition Classes
- AmfObject
-
def
withInherits(inherits: Seq[Shape]): AnyShape.this.type
- Definition Classes
- Shape
-
def
withLinkLabel(label: String): AnyShape.this.type
- Definition Classes
- Linkable
-
def
withLinkTarget(target: DomainElement): AnyShape.this.type
- Definition Classes
- Linkable
-
def
withName(name: String): AnyShape.this.type
- Definition Classes
- Shape → NamedDomainElement
-
def
withNot(shape: Shape): AnyShape.this.type
- Definition Classes
- Shape
-
def
withOr(subShapes: Seq[Shape]): AnyShape.this.type
- Definition Classes
- Shape
-
def
withReference(id: String): AnyShape.this.type
- Definition Classes
- ExternalSourceElement
-
def
withSupportsRecursion(recursive: Boolean): AnyShape.this.type
- Definition Classes
- Linkable
-
def
withValues(values: Seq[String]): AnyShape.this.type
- Definition Classes
- Shape
- def withXMLSerialization(xmlSerialization: XMLSerializer): AnyShape.this.type
-
def
withXone(subShapes: Seq[Shape]): AnyShape.this.type
- Definition Classes
- Shape
- def xmlSerialization: XMLSerializer
-
def
xone: Seq[Shape]
- Definition Classes
- Shape