c

amf.client.model.domain

ScalarShape

case class ScalarShape(_internal: plugins.domain.shapes.models.ScalarShape) extends AnyShape with Product with Serializable

Annotations
@JSExportAll()
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyShape, Shape, NamedDomainElement, Linkable, DomainElement, PlatformSecrets, AmfObjectWrapper, Annotable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalarShape
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyShape
  7. Shape
  8. NamedDomainElement
  9. Linkable
  10. DomainElement
  11. PlatformSecrets
  12. AmfObjectWrapper
  13. Annotable
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ScalarShape()
    Annotations
    @JSExportTopLevel( "model.domain.ScalarShape" )
  2. new ScalarShape(_internal: plugins.domain.shapes.models.ScalarShape)

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 and: convert.CoreClientConverters.ClientList[Shape]
    Definition Classes
    Shape
  5. def annotations(): Annotations
    Definition Classes
    AmfObjectWrapper → Annotable
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def buildJsonSchema(): String

    Force a new json schema generation, no matter if the shape was parsed from that kind of expression or if was previously generated.

    Force a new json schema generation, no matter if the shape was parsed from that kind of expression or if was previously generated. Stores the result for futures toJsonSchema invocations. Should use this method when you have mutated this instance

    Definition Classes
    AnyShape
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def customDomainProperties: convert.CoreClientConverters.ClientList[DomainExtension]
    Definition Classes
    DomainElement
  10. def dataType: StrField
  11. def defaultValue: DataNode
    Definition Classes
    Shape
  12. def defaultValueStr: StrField
    Definition Classes
    Shape
  13. def description: StrField
    Definition Classes
    Shape
  14. def displayName: StrField
    Definition Classes
    Shape
  15. def documentation: CreativeWork
    Definition Classes
    AnyShape
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def examples: ClientList[Example]
    Definition Classes
    AnyShape
  18. def exclusiveMaximum: BoolField
  19. def exclusiveMinimum: BoolField
  20. def extendsNode: convert.CoreClientConverters.ClientList[DomainElement]
    Definition Classes
    DomainElement
  21. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def format: StrField
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def graph(): Graph
    Definition Classes
    DomainElement
  25. def id: String
    Definition Classes
    DomainElement
  26. def inherits: convert.CoreClientConverters.ClientList[Shape]
    Definition Classes
    Shape
  27. 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
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def isLink: Boolean
    Definition Classes
    Linkable
  30. def link[T](label: Option[String]): T
    Definition Classes
    Linkable
  31. def linkCopy(): ScalarShape
    Definition Classes
    ScalarShapeAnyShape → Linkable
  32. def linkLabel: StrField
    Definition Classes
    Linkable
  33. def linkTarget: convert.CoreClientConverters.ClientOption[DomainElement]
    Definition Classes
    Linkable
  34. def maxLength: IntField
  35. def maximum: DoubleField
  36. def minLength: IntField
  37. def minimum: DoubleField
  38. def multipleOf: DoubleField
  39. def name: StrField
    Definition Classes
    Shape → NamedDomainElement
  40. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. def not: Shape
    Definition Classes
    Shape
  42. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  43. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  44. def or: convert.CoreClientConverters.ClientList[Shape]
    Definition Classes
    Shape
  45. def pattern: StrField
  46. def payloadValidator(): PayloadValidator
    Definition Classes
    AnyShape
  47. val platform: Platform
    Definition Classes
    PlatformSecrets
  48. def position: Range
    Definition Classes
    DomainElement
  49. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  50. def toJsonSchema: String

    if the shape was parsed of a json schema, or has been previously generated a new json schema, returns thar value, otherwise generate a new json schema and store the value for futures invocations

    if the shape was parsed of a json schema, or has been previously generated a new json schema, returns thar value, otherwise generate a new json schema and store the value for futures invocations

    Definition Classes
    AnyShape
  51. def trackedExample(trackId: String): ClientOption[Example]

    trackId

    parent id of the original payload type with simpleinheritance and the searched example.

    returns

    A ClientOption of the original inlined example, or empty if there is not any example with that track information annotated.

    Definition Classes
    AnyShape
  52. def validate(fragment: PayloadFragment): ClientFuture[ValidationReport]
    Definition Classes
    AnyShape
  53. def validate(fragment: PayloadFragment, env: Environment): ClientFuture[ValidationReport]
    Definition Classes
    AnyShape
  54. def validate(payload: String): ClientFuture[ValidationReport]
    Definition Classes
    AnyShape
  55. def validate(payload: String, env: Environment): ClientFuture[ValidationReport]
    Definition Classes
    AnyShape
  56. def validateParameter(payload: String): ClientFuture[ValidationReport]
    Definition Classes
    AnyShape
  57. def validateParameter(payload: String, env: Environment): ClientFuture[ValidationReport]
    Definition Classes
    AnyShape
  58. def values: convert.CoreClientConverters.ClientList[DataNode]
    Definition Classes
    Shape
  59. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  62. def withAnd(subShapes: convert.CoreClientConverters.ClientList[Shape]): ScalarShape.this.type
    Definition Classes
    Shape
  63. def withCustomDomainProperties(extensions: convert.CoreClientConverters.ClientList[DomainExtension]): ScalarShape.this.type
    Definition Classes
    DomainElement
  64. def withDataType(dataType: String): ScalarShape.this.type
  65. def withDefaultStr(value: String): ScalarShape.this.type
    Definition Classes
    Shape
  66. def withDefaultValue(default: DataNode): ScalarShape.this.type
    Definition Classes
    Shape
  67. def withDescription(description: String): ScalarShape.this.type
    Definition Classes
    Shape
  68. def withDisplayName(name: String): ScalarShape.this.type
    Definition Classes
    Shape
  69. def withDocumentation(documentation: CreativeWork): ScalarShape.this.type
    Definition Classes
    AnyShape
  70. def withExample(mediaType: String): Example
    Definition Classes
    AnyShape
  71. def withExamples(examples: ClientList[Example]): ScalarShape.this.type
    Definition Classes
    AnyShape
  72. def withExclusiveMaximum(max: Boolean): ScalarShape.this.type
  73. def withExclusiveMinimum(min: Boolean): ScalarShape.this.type
  74. def withExtendsNode(extension: convert.CoreClientConverters.ClientList[ParametrizedDeclaration]): ScalarShape.this.type
    Definition Classes
    DomainElement
  75. def withFormat(format: String): ScalarShape.this.type
  76. def withId(id: String): ScalarShape.this.type
    Definition Classes
    DomainElement
  77. def withInherits(inherits: convert.CoreClientConverters.ClientList[Shape]): ScalarShape.this.type
    Definition Classes
    Shape
  78. def withLinkLabel(label: String): ScalarShape.this.type
    Definition Classes
    Linkable
  79. def withLinkTarget(target: DomainElement with Linkable): ScalarShape.this.type
    Definition Classes
    Linkable
  80. def withMaxLength(max: Int): ScalarShape.this.type
  81. def withMaximum(max: Double): ScalarShape.this.type
  82. def withMinLength(min: Int): ScalarShape.this.type
  83. def withMinimum(min: Double): ScalarShape.this.type
  84. def withMultipleOf(multiple: Double): ScalarShape.this.type
  85. def withName(name: String): ScalarShape.this.type
    Definition Classes
    Shape → NamedDomainElement
  86. def withNode(shape: Shape): ScalarShape.this.type
    Definition Classes
    Shape
  87. def withOr(subShapes: convert.CoreClientConverters.ClientList[Shape]): ScalarShape.this.type
    Definition Classes
    Shape
  88. def withPattern(pattern: String): ScalarShape.this.type
  89. def withValues(values: convert.CoreClientConverters.ClientList[String]): ScalarShape.this.type
    Definition Classes
    Shape
  90. def withXMLSerialization(xmlSerialization: XMLSerializer): ScalarShape.this.type
    Definition Classes
    AnyShape
  91. def withXone(subShapes: convert.CoreClientConverters.ClientList[Shape]): ScalarShape.this.type
    Definition Classes
    Shape
  92. def xmlSerialization: XMLSerializer
    Definition Classes
    AnyShape
  93. def xone: convert.CoreClientConverters.ClientList[Shape]
    Definition Classes
    Shape

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyShape

Inherited from Shape

Inherited from NamedDomainElement

Inherited from Linkable

Inherited from DomainElement

Inherited from PlatformSecrets

Inherited from AmfObjectWrapper

Inherited from Annotable

Inherited from AnyRef

Inherited from Any

Ungrouped