case class TyperefDefinition(spec: TyperefTemplateSpec) extends Definition with Product with Serializable
- Alphabetic
- By Inheritance
- TyperefDefinition
- Serializable
- Serializable
- Product
- Equals
- Definition
- Deprecatable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TyperefDefinition(spec: TyperefTemplateSpec)
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
allReferencedTypes: Set[Definition]
Return all types directly or transitively referenced by this type.
Return all types directly or transitively referenced by this type.
- Definition Classes
- Definition
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
containedTypes: Set[Definition]
All types that should be generated as types inside this type.
All types that should be generated as types inside this type.
- Definition Classes
- Definition
-
def
dataType: String
The pegasus "data" type.
The pegasus "data" type.
This if sometimes the same as scalaType. It will be different for custom type and for primitive types.
For custom types, it will be the referenced type.
For primitives, this will be the java boxed type, e.g.
java.lang.Integerwhereas the scalaType would beInt.- Definition Classes
- Definition
-
def
deprecationMessage: Option[String]
Is is possible for a type to be deprecated but have not deprecation message, so even if this is None, isDeprecated still might be true.
Is is possible for a type to be deprecated but have not deprecation message, so even if this is None, isDeprecated still might be true.
- Definition Classes
- Deprecatable
- def dereferencedType: Definition
-
def
directReferencedTypes: Set[Definition]
Return types this type references.
Return types this type references. For a record, this will return the types of all the fields. For a array, this will return the items type.
- Definition Classes
- TyperefDefinition → Definition
-
def
enclosingDefinition: Option[Definition]
The containing type of this type, if any.
The containing type of this type, if any.
When a type is contained in another type, it should be generated as a subtype of that type.
Unions are commonly generated as contained types.
- Definition Classes
- Definition
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- Definition → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- Definition → AnyRef → Any
-
def
isDeprecated: Boolean
- Definition Classes
- Deprecatable
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTopLevel: Boolean
- Definition Classes
- Definition
-
def
memberName: String
The name that should be given to any Union member wrappers of this type.
The name that should be given to any Union member wrappers of this type.
- Definition Classes
- Definition
-
def
namespace: Option[String]
The namespace of the scala type, if any.
The namespace of the scala type, if any.
Only present for complex types.
- Definition Classes
- Definition
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
properties: Map[String, AnyRef]
- Definition Classes
- Definition → Deprecatable
-
def
rawDataType: String
The raw pegasus "data" type that is stored in the underlying DataMap or DataList.
The raw pegasus "data" type that is stored in the underlying DataMap or DataList.
For custom types, this is the raw type of fully dereferenced type.
For primitives, this is the java boxed type, e.g.
java.lang.Integer.For complex types, this is the raw, type, e.g. DataMap for records, DataList for arrays.
- Definition Classes
- TyperefDefinition → Definition
-
def
scalaDoc: Option[String]
Includes the opening and closing scaladoc comment tags.
Includes the opening and closing scaladoc comment tags.
- Definition Classes
- TyperefDefinition → Definition
-
def
scalaGenericCollectionType: String
The scala Generic collection type that corresponds to the type.
The scala Generic collection type that corresponds to the type. This is the same as scalaTypeFullname for all types except maps and arrays, which are represented by
Map[K, V]andTraversable[I]instead of by their pegasus generated binding types.- Definition Classes
- Definition
-
def
scalaType: String
The scala type without namespace.
The scala type without namespace.
For complex types, this is the name of the generated data binding class.
For primitive types, this is the Scala native type, e.g. "Int".
- Definition Classes
- Definition
-
def
scalaTypeFullname: String
The fully qualified name of the scala type.
The fully qualified name of the scala type.
- Definition Classes
- Definition
-
def
schema: Option[TyperefDataSchema]
The schema of the type.
The schema of the type. Not present for definitions of "raw" classes, such as the 'coercer' and 'class' of a custom type.
- Definition Classes
- TyperefDefinition → Definition
-
val
spec: TyperefTemplateSpec
- Definition Classes
- TyperefDefinition → Definition
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def typerefSchema: TyperefDataSchema
-
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( ... )