case class ScalarShape(fields: Fields, annotations: Annotations) extends AnyShape with CommonShapeFields with Product with Serializable

Scalar shape

Linear Supertypes
Serializable, Serializable, Product, Equals, CommonShapeFields, AnyShape, ExemplifiedDomainElement, InheritanceChain, ExternalSourceElement, RamlDatatypeSerializer, JsonSchemaSerializer, PlatformSecrets, ShapeHelpers, JsonSchemaSecrets, Shape, ShapeHelper, NamedDomainElement, Linkable, DomainElement, AmfObject, AmfElement, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalarShape
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CommonShapeFields
  7. AnyShape
  8. ExemplifiedDomainElement
  9. InheritanceChain
  10. ExternalSourceElement
  11. RamlDatatypeSerializer
  12. JsonSchemaSerializer
  13. PlatformSecrets
  14. ShapeHelpers
  15. JsonSchemaSecrets
  16. Shape
  17. ShapeHelper
  18. NamedDomainElement
  19. Linkable
  20. DomainElement
  21. AmfObject
  22. AmfElement
  23. AnyRef
  24. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalarShape(fields: Fields, annotations: Annotations)

Type Members

  1. type FacetsMap = Map[String, PropertyShape]
    Definition Classes
    Shape

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(field: Field, value: AmfElement): ScalarShape.this.type
    Definition Classes
    AmfObject
  5. def add(other: Annotations): ScalarShape.this.type
    Definition Classes
    AmfElement
  6. def add(annotation: Annotation): ScalarShape.this.type
    Definition Classes
    AmfElement
  7. def addSubType(shape: Shape): Unit
    Definition Classes
    InheritanceChain
  8. def addSuperType(shape: Shape): Unit
    Definition Classes
    InheritanceChain
  9. def adopted(parent: String, cycle: Seq[String]): ScalarShape.this.type
    Definition Classes
    AmfObject
  10. def afterResolve(fatherSyntaxKey: Option[String], resolvedId: String): Unit
    Definition Classes
    Linkable
  11. def and: Seq[Shape]
    Definition Classes
    Shape
  12. val annotations: Annotations
    Definition Classes
    ScalarShapeAnyShape → AmfElement
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def buildFixPoint(id: Option[String], name: String, link: Linkable, recursionErrorHandler: Option[ErrorHandler]): RecursiveShape
    Attributes
    protected
    Definition Classes
    ShapeHelpers
  15. def buildJsonSchema(options: ShapeRenderOptions, exec: BaseExecutionEnvironment): String
    Definition Classes
    AnyShape
  16. def buildJsonSchema(options: ShapeRenderOptions): String
    Definition Classes
    AnyShape
  17. def buildJsonSchema(exec: BaseExecutionEnvironment): String
    Definition Classes
    AnyShape
  18. def buildJsonSchema(): String
    Definition Classes
    AnyShape
  19. def buildRamlDatatype(exec: BaseExecutionEnvironment): String
    Definition Classes
    AnyShape
  20. def buildRamlDatatype: String

    Generates a new RAML Data Type.

    Generates a new RAML Data Type.

    Definition Classes
    AnyShape
  21. 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
    ScalarShapeAnyShape → Linkable
  22. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  23. def cloneAllExamples(cloned: Shape, s: Shape): Unit
    Definition Classes
    ShapeHelpers
  24. def cloneShape(recursionErrorHandler: Option[ErrorHandler], withRecursionBase: Option[String] = None, traversal: ModelTraversalRegistry = ModelTraversalRegistry(), cloneExamples: Boolean = false): ScalarShape.this.type
    Definition Classes
    ShapeHelpers
  25. val closureShapes: Set[Shape]
    Definition Classes
    Shape
  26. def collectCustomShapePropertyDefinitions(onlyInherited: Boolean, traversed: Set[String]): Seq[FacetsMap]
    Definition Classes
    Shape
  27. def comment: StrField
    Definition Classes
    AnyShape
  28. 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
    ScalarShapeAnyShape → AmfObject
  29. def computeSubtypesClosure(): Seq[Shape]
    Attributes
    protected
    Definition Classes
    InheritanceChain
  30. def copyAnyShape(fields: Fields = fields, annotations: Annotations = annotations): AnyShape
    Definition Classes
    AnyShape
  31. def copyElement(a: Annotations): Linkable with DomainElement
    Definition Classes
    Linkable
  32. def copyElement(): Linkable with DomainElement
    Definition Classes
    Linkable
  33. def copyFields(recursionErrorHandler: Option[ErrorHandler], cloned: Shape, recursionBase: Option[String], traversal: ModelTraversalRegistry): Unit
    Attributes
    protected
    Definition Classes
    Shape
  34. def copyShape(): ScalarShape.this.type
    Definition Classes
    AnyShape → Shape
  35. def copyShape(a: Annotations): ScalarShape.this.type
    Definition Classes
    Shape
  36. def customDomainProperties: Seq[DomainExtension]
    Definition Classes
    DomainElement
  37. def customShapeProperties: Seq[ShapeExtension]
    Definition Classes
    Shape
  38. def customShapePropertyDefinitions: Seq[PropertyShape]
    Definition Classes
    Shape
  39. def dataType: StrField
  40. def default: DataNode
    Definition Classes
    Shape
  41. def defaultString: StrField
    Definition Classes
    Shape
  42. def deprecated: BoolField
    Definition Classes
    Shape
  43. def description: StrField
    Definition Classes
    Shape
  44. def displayName: StrField
    Definition Classes
    Shape
  45. def documentation: CreativeWork
    Definition Classes
    AnyShape
  46. def effectiveInherits: Seq[Shape]
    Definition Classes
    Shape
  47. def effectiveLinkTarget(links: Seq[String]): DomainElement
    Definition Classes
    Linkable
  48. def effectiveStructuralShapes: Seq[Shape]
    Definition Classes
    InheritanceChain
  49. def elseShape: Shape
    Definition Classes
    Shape
  50. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  51. def examples: Seq[Example]
    Definition Classes
    ExemplifiedDomainElement
  52. def exclusiveMaximum: BoolField
    Definition Classes
    CommonShapeFields
  53. def exclusiveMinimum: BoolField
    Definition Classes
    CommonShapeFields
  54. def extend: Seq[DomainElement]
    Definition Classes
    DomainElement
  55. def externalSourceID: Option[String]
    Definition Classes
    ShapeHelpers
  56. val fields: Fields
    Definition Classes
    ScalarShapeAnyShape → AmfObject
  57. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  58. def format: StrField
    Definition Classes
    CommonShapeFields
  59. def fromExternalSource: Boolean
    Definition Classes
    ShapeHelpers
  60. def fromLocal(): Boolean
    Definition Classes
    AmfElement
  61. def fromTypeExpression: Boolean
    Definition Classes
    ShapeHelpers
  62. def generateJsonSchema(element: AnyShape, options: ShapeRenderOptions = ShapeRenderOptions(), exec: BaseExecutionEnvironment): String
    Attributes
    protected
    Definition Classes
    JsonSchemaSerializer
  63. def generateRamlDatatype(element: AnyShape, exec: BaseExecutionEnvironment): 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
  64. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  65. lazy val graph: Graph
    Definition Classes
    DomainElement
  66. val id: String
    Definition Classes
    AmfObject
  67. def ifShape: Shape
    Definition Classes
    Shape
  68. val inheritedIds: Seq[String]
    Definition Classes
    InheritanceChain
  69. def inherits: Seq[Shape]
    Definition Classes
    Shape
  70. def inlined: Boolean
    Definition Classes
    AnyShape
  71. 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
  72. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  73. def isLink: Boolean
    Definition Classes
    Linkable
  74. def isLinkToSource: Boolean
    Definition Classes
    ExternalSourceElement
  75. def isTrackedBy(trackId: String): Boolean
    Definition Classes
    AmfElement
  76. val isUnresolved: Boolean
    Definition Classes
    Linkable
  77. def link[T](label: String, annotations: Annotations): T
    Definition Classes
    Linkable
  78. val linkAnnotations: Option[Annotations]
    Definition Classes
    Linkable
  79. def linkCopy(): ScalarShape
    Definition Classes
    ScalarShapeAnyShape → Linkable
  80. def linkLabel: StrField
    Definition Classes
    Linkable
  81. def linkSubType(shape: AnyShape): Unit
    Definition Classes
    InheritanceChain
  82. def linkTarget: Option[DomainElement]
    Definition Classes
    Linkable
  83. def location(): Option[String]
    Definition Classes
    ExternalSourceElement → AmfElement
  84. def maxLength: IntField
    Definition Classes
    CommonShapeFields
  85. def maximum: DoubleField
    Definition Classes
    CommonShapeFields
  86. val meta: AnyShapeModel
    Definition Classes
    ScalarShapeAnyShape → AmfObject
  87. def minLength: IntField
    Definition Classes
    CommonShapeFields
  88. def minimum: DoubleField
    Definition Classes
    CommonShapeFields
  89. def multipleOf: DoubleField
    Definition Classes
    CommonShapeFields
  90. def name: StrField
    Definition Classes
    NamedDomainElement
  91. def nameField: Field
    Attributes
    protected
    Definition Classes
    Shape → NamedDomainElement
  92. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  93. def not: Shape
    Definition Classes
    Shape
  94. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  95. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  96. def or: Seq[Shape]
    Definition Classes
    Shape
  97. def parameterValidator(mediaType: String, exec: BaseExecutionEnvironment): Option[PayloadValidator]
    Definition Classes
    AnyShape
  98. def parameterValidator(mediaType: String, env: Environment = Environment()): Option[PayloadValidator]
    Definition Classes
    AnyShape
  99. def pattern: StrField
    Definition Classes
    CommonShapeFields
  100. def payloadValidator(mediaType: String, exec: BaseExecutionEnvironment): Option[PayloadValidator]
    Definition Classes
    AnyShape
  101. def payloadValidator(mediaType: String, env: Environment = Environment()): Option[PayloadValidator]
    Definition Classes
    AnyShape
  102. def payloadValidator(shape: Shape, env: Environment, validationMode: ValidationMode): PlatformPayloadValidator
    Attributes
    protected
    Definition Classes
    JsonSchemaSecrets
  103. val platform: Platform
    Definition Classes
    PlatformSecrets
  104. def position(): Option[LexicalInformation]
    Definition Classes
    AmfElement
  105. def ramlSyntaxKey: String
    Definition Classes
    ScalarShapeAnyShape → Shape
  106. def raw: StrField
    Definition Classes
    ExternalSourceElement
  107. def readOnly: BoolField
    Definition Classes
    Shape
  108. val refAst: Option[YPart]
    Definition Classes
    Linkable
  109. val refCtx: Option[ParserContext]
    Definition Classes
    Linkable
  110. val refName: String
    Definition Classes
    Linkable
  111. def referenceId: StrField
    Definition Classes
    ExternalSourceElement
  112. def removeExamples(): Unit
    Definition Classes
    ExemplifiedDomainElement
  113. def resolveUnreferencedLink[T](label: String, annotations: Annotations, unresolved: T, supportsRecursion: Boolean): T
    Definition Classes
    Linkable
  114. def set(field: Field, value: AmfElement, annotations: Annotations): ScalarShape.this.type
    Definition Classes
    AmfObject
  115. def set(field: Field, value: AmfElement): ScalarShape.this.type
    Definition Classes
    AmfObject
  116. def set(field: Field, values: Seq[String]): ScalarShape.this.type
    Definition Classes
    AmfObject
  117. def set(field: Field, value: Float): ScalarShape.this.type
    Definition Classes
    AmfObject
  118. def set(field: Field, value: Double): ScalarShape.this.type
    Definition Classes
    AmfObject
  119. def set(field: Field, value: Int): ScalarShape.this.type
    Definition Classes
    AmfObject
  120. def set(field: Field, value: Boolean): ScalarShape.this.type
    Definition Classes
    AmfObject
  121. def set(field: Field, value: String): ScalarShape.this.type
    Definition Classes
    AmfObject
  122. def setArray(field: Field, values: Seq[AmfElement], annotations: Annotations): ScalarShape.this.type
    Definition Classes
    AmfObject
  123. def setArray(field: Field, values: Seq[AmfElement]): ScalarShape.this.type
    Definition Classes
    AmfObject
  124. def setArrayWithoutId(field: Field, values: Seq[AmfElement], annotations: Annotations): ScalarShape.this.type
    Definition Classes
    AmfObject
  125. def setArrayWithoutId(field: Field, values: Seq[AmfElement]): ScalarShape.this.type
    Definition Classes
    AmfObject
  126. def setDefaultStrValue(entry: YMapEntry): Unit
    Definition Classes
    ShapeHelper
  127. val shouldLink: Boolean
    Attributes
    protected
    Definition Classes
    Linkable
  128. final def simpleAdoption(parent: String): ScalarShape.this.type
    Definition Classes
    AmfObject
  129. val subTypes: Seq[Shape]
    Definition Classes
    InheritanceChain
  130. val superTypes: Seq[Shape]
    Definition Classes
    InheritanceChain
  131. def supportsRecursion: BoolField
    Definition Classes
    Linkable
  132. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  133. def thenShape: Shape
    Definition Classes
    Shape
  134. def toFutureRef(resolve: (Linkable) ⇒ Unit): Unit
    Definition Classes
    Linkable
  135. def toJsonSchema(exec: BaseExecutionEnvironment): String
    Definition Classes
    AnyShape
  136. def toJsonSchema: String
    Definition Classes
    AnyShape
  137. def toJsonSchema(element: AnyShape, exec: BaseExecutionEnvironment): String
    Attributes
    protected
    Definition Classes
    JsonSchemaSerializer
  138. def toRamlDatatype(exec: BaseExecutionEnvironment): String
    Definition Classes
    AnyShape
  139. 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
  140. def toRamlDatatype(element: AnyShape, exec: BaseExecutionEnvironment): 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
  141. def trackedExample(trackId: String): Option[Example]
    Definition Classes
    AnyShape
  142. def typeExpression(eh: ErrorHandler): String
    Definition Classes
    ShapeHelpers
  143. def unresolved(refName: String, refAst: YPart, unresolvedSeverity: String)(implicit ctx: ParserContext): DomainElement with Linkable
    Definition Classes
    Linkable
  144. val unresolvedSeverity: String
    Definition Classes
    Linkable
  145. def validate(fragment: PayloadFragment, env: Environment): Future[AMFValidationReport]
    Definition Classes
    AnyShape
  146. def validate(fragment: PayloadFragment, exec: BaseExecutionEnvironment): Future[AMFValidationReport]
    Definition Classes
    AnyShape
  147. def validate(fragment: PayloadFragment): Future[AMFValidationReport]
    Definition Classes
    AnyShape
  148. def validate(fragment: PayloadFragment, env: Environment, exec: BaseExecutionEnvironment): Future[AMFValidationReport]
    Definition Classes
    AnyShape
  149. def validate(payload: String, env: Environment): Future[AMFValidationReport]
    Definition Classes
    AnyShape
  150. def validate(payload: String, exec: BaseExecutionEnvironment): Future[AMFValidationReport]
    Definition Classes
    AnyShape
  151. def validate(payload: String): Future[AMFValidationReport]
    Definition Classes
    AnyShape
  152. def validate(payload: String, env: Environment, exec: BaseExecutionEnvironment): Future[AMFValidationReport]
    Definition Classes
    AnyShape
  153. def validateParameter(payload: String, exec: BaseExecutionEnvironment): Future[AMFValidationReport]
    Definition Classes
    AnyShape
  154. def validateParameter(payload: String, env: Environment = Environment(), exec: BaseExecutionEnvironment = ...): Future[AMFValidationReport]
    Definition Classes
    AnyShape
  155. def values: Seq[DataNode]
    Definition Classes
    Shape
  156. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  157. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  158. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  159. def withAnd(subShapes: Seq[Shape]): ScalarShape.this.type
    Definition Classes
    Shape
  160. def withComment(comment: String): ScalarShape.this.type
    Definition Classes
    AnyShape
  161. def withCustomDomainProperties(extensions: Seq[DomainExtension]): ScalarShape.this.type
    Definition Classes
    DomainElement
  162. def withCustomDomainProperty(extensions: DomainExtension): ScalarShape.this.type
    Definition Classes
    DomainElement
  163. def withCustomShapeProperties(properties: Seq[ShapeExtension]): ScalarShape.this.type
    Definition Classes
    Shape
  164. def withCustomShapePropertyDefinition(name: String): PropertyShape
    Definition Classes
    Shape
  165. def withCustomShapePropertyDefinitions(propertyDefinitions: Seq[PropertyShape]): ScalarShape.this.type
    Definition Classes
    Shape
  166. def withDataType(dataType: String): ScalarShape.this.type
  167. def withDefault(default: DataNode): ScalarShape.this.type
    Definition Classes
    Shape
  168. def withDefaultStr(value: String): ScalarShape.this.type
    Definition Classes
    Shape
  169. def withDeprecated(deprecated: Boolean): ScalarShape.this.type
    Definition Classes
    Shape
  170. def withDescription(description: String): ScalarShape.this.type
    Definition Classes
    Shape
  171. def withDisplayName(name: String): ScalarShape.this.type
    Definition Classes
    Shape
  172. def withDocumentation(documentation: CreativeWork): ScalarShape.this.type
    Definition Classes
    AnyShape
  173. def withElse(elseShape: Shape): ScalarShape.this.type
    Definition Classes
    Shape
  174. def withExample(name: Option[String]): Example
    Definition Classes
    ExemplifiedDomainElement
  175. def withExamples(examples: Seq[Example]): ScalarShape.this.type
    Definition Classes
    ExemplifiedDomainElement
  176. def withExclusiveMaximum(max: Boolean): ScalarShape.this.type
    Definition Classes
    CommonShapeFields
  177. def withExclusiveMinimum(min: Boolean): ScalarShape.this.type
    Definition Classes
    CommonShapeFields
  178. def withExtends(extend: Seq[DomainElement]): ScalarShape.this.type
    Definition Classes
    DomainElement
  179. def withFormat(format: String): ScalarShape.this.type
    Definition Classes
    CommonShapeFields
  180. def withId(value: String): ScalarShape.this.type
    Definition Classes
    AmfObject
  181. def withIf(ifShape: Shape): ScalarShape.this.type
    Definition Classes
    Shape
  182. def withInherits(inherits: Seq[Shape]): ScalarShape.this.type
    Definition Classes
    Shape
  183. def withLinkLabel(label: String): ScalarShape.this.type
    Definition Classes
    Linkable
  184. def withLinkTarget(target: DomainElement): ScalarShape.this.type
    Definition Classes
    Linkable
  185. def withMaxLength(max: Int): ScalarShape.this.type
    Definition Classes
    CommonShapeFields
  186. def withMaximum(max: Double): ScalarShape.this.type
    Definition Classes
    CommonShapeFields
  187. def withMinLength(min: Int): ScalarShape.this.type
    Definition Classes
    CommonShapeFields
  188. def withMinimum(min: Double): ScalarShape.this.type
    Definition Classes
    CommonShapeFields
  189. def withMultipleOf(multiple: Double): ScalarShape.this.type
    Definition Classes
    CommonShapeFields
  190. def withName(name: String, a: Annotations): ScalarShape.this.type
    Definition Classes
    NamedDomainElement
  191. def withNot(shape: Shape): ScalarShape.this.type
    Definition Classes
    Shape
  192. def withOr(subShapes: Seq[Shape]): ScalarShape.this.type
    Definition Classes
    Shape
  193. def withPattern(pattern: String): ScalarShape.this.type
    Definition Classes
    CommonShapeFields
  194. def withReadOnly(readOnly: Boolean): ScalarShape.this.type
    Definition Classes
    Shape
  195. def withReference(id: String): ScalarShape.this.type
    Definition Classes
    ExternalSourceElement
  196. def withSupportsRecursion(recursive: Boolean): ScalarShape.this.type
    Definition Classes
    Linkable
  197. def withThen(thenShape: Shape): ScalarShape.this.type
    Definition Classes
    Shape
  198. def withValues(values: Seq[DataNode]): ScalarShape.this.type
    Definition Classes
    Shape
  199. def withWriteOnly(writeOnly: Boolean): ScalarShape.this.type
    Definition Classes
    Shape
  200. def withXMLSerialization(xmlSerialization: XMLSerializer): ScalarShape.this.type
    Definition Classes
    AnyShape
  201. def withXone(subShapes: Seq[Shape]): ScalarShape.this.type
    Definition Classes
    Shape
  202. def writeOnly: BoolField
    Definition Classes
    Shape
  203. def xmlSerialization: XMLSerializer
    Definition Classes
    AnyShape
  204. def xone: Seq[Shape]
    Definition Classes
    Shape

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CommonShapeFields

Inherited from AnyShape

Inherited from ExemplifiedDomainElement

Inherited from InheritanceChain

Inherited from ExternalSourceElement

Inherited from RamlDatatypeSerializer

Inherited from JsonSchemaSerializer

Inherited from PlatformSecrets

Inherited from ShapeHelpers

Inherited from JsonSchemaSecrets

Inherited from Shape

Inherited from ShapeHelper

Inherited from NamedDomainElement

Inherited from Linkable

Inherited from DomainElement

Inherited from AmfObject

Inherited from AmfElement

Inherited from AnyRef

Inherited from Any

Ungrouped