class AnyShape extends Shape

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

Instance Constructors

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

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

  8. def buildRamlDatatype(): String

    Forces a new RAML Data Type generation, no matter if the shape was parsed from that kind of expression or if was previously generated.

    Forces a new RAML Data Type generation, no matter if the shape was parsed from that kind of expression or if was previously generated. Stores the result for futures toRamlDatatype invocations. Call this method to generate a new RAML Data Type when this instance was mutated. Proxies call to internal AnyShape.toRamlDatatype.

  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. def customDomainProperties: convert.CoreClientConverters.ClientList[DomainExtension]
    Definition Classes
    DomainElement
  11. def customShapeProperties: convert.CoreClientConverters.ClientList[ShapeExtension]
    Definition Classes
    Shape
  12. def customShapePropertyDefinitions: convert.CoreClientConverters.ClientList[PropertyShape]
    Definition Classes
    Shape
  13. def defaultValue: DataNode
    Definition Classes
    Shape
  14. def defaultValueStr: StrField
    Definition Classes
    Shape
  15. def description: StrField
    Definition Classes
    Shape
  16. def displayName: StrField
    Definition Classes
    Shape
  17. def documentation: CreativeWork
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. def examples: ClientList[Example]
  21. def extendsNode: convert.CoreClientConverters.ClientList[DomainElement]
    Definition Classes
    DomainElement
  22. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def graph(): Graph
    Definition Classes
    DomainElement
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def id: String
    Definition Classes
    DomainElement
  27. def inherits: convert.CoreClientConverters.ClientList[Shape]
    Definition Classes
    Shape
  28. def inlined(): Boolean
  29. 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

  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. def isLink: Boolean
    Definition Classes
    Linkable
  32. def link[T](label: Option[String]): T
    Definition Classes
    Linkable
  33. def linkCopy(): AnyShape
    Definition Classes
    AnyShape → Linkable
  34. def linkLabel: StrField
    Definition Classes
    Linkable
  35. def linkTarget: convert.CoreClientConverters.ClientOption[DomainElement]
    Definition Classes
    Linkable
  36. def name: StrField
    Definition Classes
    Shape → NamedDomainElement
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. def not: Shape
    Definition Classes
    Shape
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. def or: convert.CoreClientConverters.ClientList[Shape]
    Definition Classes
    Shape
  42. def parameterValidator(mediaType: String, env: Environment): ClientOption[PayloadValidator]
  43. def parameterValidator(mediaType: String): ClientOption[PayloadValidator]
  44. def payloadValidator(mediaType: String, env: Environment): ClientOption[PayloadValidator]
  45. def payloadValidator(mediaType: String): ClientOption[PayloadValidator]
  46. val platform: Platform
    Definition Classes
    PlatformSecrets
  47. def position: Range
    Definition Classes
    DomainElement
  48. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  49. 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

  50. def toRamlDatatype: String

    If the shape was parsed of RAML, or a new RAML has been previously generated, returns that value, otherwise generates a new RAML Data Type and stores the value for futures invocations.

    If the shape was parsed of RAML, or a new RAML has been previously generated, returns that value, otherwise generates a new RAML Data Type and stores the value for futures invocations. Proxies call to internal AnyShape.toRamlDatatype.

  51. def toString(): String
    Definition Classes
    AnyRef → Any
  52. 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.

  53. def validate(fragment: PayloadFragment): ClientFuture[ValidationReport]
  54. def validate(fragment: PayloadFragment, env: Environment): ClientFuture[ValidationReport]
  55. def validate(payload: String): ClientFuture[ValidationReport]
  56. def validate(payload: String, env: Environment): ClientFuture[ValidationReport]
  57. def validateParameter(payload: String): ClientFuture[ValidationReport]
  58. def validateParameter(payload: String, env: Environment): ClientFuture[ValidationReport]
  59. def values: convert.CoreClientConverters.ClientList[DataNode]
    Definition Classes
    Shape
  60. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  63. def withAnd(subShapes: convert.CoreClientConverters.ClientList[Shape]): AnyShape.this.type
    Definition Classes
    Shape
  64. def withCustomDomainProperties(extensions: convert.CoreClientConverters.ClientList[DomainExtension]): AnyShape.this.type
    Definition Classes
    DomainElement
  65. def withCustomShapeProperties(customShapeProperties: convert.CoreClientConverters.ClientList[ShapeExtension]): AnyShape.this.type
    Definition Classes
    Shape
  66. def withCustomShapePropertyDefinition(name: String): PropertyShape
    Definition Classes
    Shape
  67. def withCustomShapePropertyDefinitions(propertyDefinitions: convert.CoreClientConverters.ClientList[PropertyShape]): AnyShape.this.type
    Definition Classes
    Shape
  68. def withDefaultStr(value: String): AnyShape.this.type
    Definition Classes
    Shape
  69. def withDefaultValue(default: DataNode): AnyShape.this.type
    Definition Classes
    Shape
  70. def withDescription(description: String): AnyShape.this.type
    Definition Classes
    Shape
  71. def withDisplayName(name: String): AnyShape.this.type
    Definition Classes
    Shape
  72. def withDocumentation(documentation: CreativeWork): AnyShape.this.type
  73. def withExample(mediaType: String): Example
  74. def withExamples(examples: ClientList[Example]): AnyShape.this.type
  75. def withExtendsNode(extension: convert.CoreClientConverters.ClientList[ParametrizedDeclaration]): AnyShape.this.type
    Definition Classes
    DomainElement
  76. def withId(id: String): AnyShape.this.type
    Definition Classes
    DomainElement
  77. def withInherits(inherits: convert.CoreClientConverters.ClientList[Shape]): AnyShape.this.type
    Definition Classes
    Shape
  78. def withLinkLabel(label: String): AnyShape.this.type
    Definition Classes
    Linkable
  79. def withLinkTarget(target: DomainElement with Linkable): AnyShape.this.type
    Definition Classes
    Linkable
  80. def withName(name: String): AnyShape.this.type
    Definition Classes
    Shape → NamedDomainElement
  81. def withNode(shape: Shape): AnyShape.this.type
    Definition Classes
    Shape
  82. def withOr(subShapes: convert.CoreClientConverters.ClientList[Shape]): AnyShape.this.type
    Definition Classes
    Shape
  83. def withValues(values: convert.CoreClientConverters.ClientList[DataNode]): AnyShape.this.type
    Definition Classes
    Shape
  84. def withXMLSerialization(xmlSerialization: XMLSerializer): AnyShape.this.type
  85. def withXone(subShapes: convert.CoreClientConverters.ClientList[Shape]): AnyShape.this.type
    Definition Classes
    Shape
  86. def xmlSerialization: XMLSerializer
  87. def xone: convert.CoreClientConverters.ClientList[Shape]
    Definition Classes
    Shape

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