class Descriptor[N] extends AnyRef
Top level descriptor to be passed to Graph/JSON conversion methods, in particular to
fromJson
and toJson
.
- Alphabetic
- By Inheritance
- Descriptor
- AnyRef
- Any
- by ChainingOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Descriptor(defaultNodeDescriptor: NodeDescriptor[N], defaultEdgeDescriptor: GenEdgeDescriptor[N], namedNodeDescriptors: Iterable[NodeDescriptor[N]] = Seq.empty[NodeDescriptor[N]], namedEdgeDescriptors: Iterable[GenEdgeDescriptor[N]] = Seq.empty[GenEdgeDescriptor[N]], sectionIds: SectionId = DefaultSectionId)
- defaultNodeDescriptor
the only or default node descriptor accepting/producing a flat node list, that is a node list without a node typeId.
- defaultEdgeDescriptor
the only or default edge descriptor accepting/producing a flat edge list, that is an edge list without an edge typeId.
- namedNodeDescriptors
further optional node descriptors accepting/producing named node lists, that is node lists with an explicit node typeId.
- namedEdgeDescriptors
further optional edge descriptors accepting/producing named edge lists, that is edge lists with an explicit edge typeId.
- sectionIds
denotes node/edge sections in a JSON text defaulting to
"nodes"
and"edges"
.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from Descriptor[N] to any2stringadd[Descriptor[N]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (Descriptor[N], B)
- Implicit
- This member is added by an implicit conversion from Descriptor[N] to ArrowAssoc[Descriptor[N]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
classManifest(any: Any): ClassTag[_]
- Attributes
- protected
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val defaultEdgeDescriptor: GenEdgeDescriptor[N]
- val defaultNodeDescriptor: NodeDescriptor[N]
- def edgeDescriptor(clazz: Class[_]): GenEdgeDescriptor[N]
- def edgeDescriptor(typeId: String): Option[GenEdgeDescriptor[N]]
-
val
edgeDescriptors: Seq[GenEdgeDescriptor[N]]
- Attributes
- protected
-
def
ensuring(cond: (Descriptor[N]) ⇒ Boolean, msg: ⇒ Any): Descriptor[N]
- Implicit
- This member is added by an implicit conversion from Descriptor[N] to Ensuring[Descriptor[N]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (Descriptor[N]) ⇒ Boolean): Descriptor[N]
- Implicit
- This member is added by an implicit conversion from Descriptor[N] to Ensuring[Descriptor[N]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Descriptor[N]
- Implicit
- This member is added by an implicit conversion from Descriptor[N] to Ensuring[Descriptor[N]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): Descriptor[N]
- Implicit
- This member is added by an implicit conversion from Descriptor[N] to Ensuring[Descriptor[N]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Descriptor[N] to StringFormat[Descriptor[N]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
var
lastNodeDescriptor: (Class[_], NodeDescriptor[N])
- Attributes
- protected
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nodeDescriptor(node: N): NodeDescriptor[N]
- def nodeDescriptor(typeId: String): Option[NodeDescriptor[N]]
-
val
nodeDescriptors: Seq[NodeDescriptor[N]]
- Attributes
- protected
-
lazy val
nodeDescriptorsByManifest: Map[ClassTag[_], NodeDescriptor[N]]
- Attributes
- protected
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
pipe[B](f: (Descriptor[N]) ⇒ B): B
- Implicit
- This member is added by an implicit conversion from Descriptor[N] to ChainingOps[Descriptor[N]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
- def requireUniqueTypeIds(descriptors: Iterable[TypeId]): Unit
- val sectionIds: SectionId
-
val
self: Descriptor[N]
- Implicit
- This member is added by an implicit conversion from Descriptor[N] to ChainingOps[Descriptor[N]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tap[U](f: (Descriptor[N]) ⇒ U): Descriptor[N]
- Implicit
- This member is added by an implicit conversion from Descriptor[N] to ChainingOps[Descriptor[N]] performed by method ChainingOps in scalax.collection.
- Definition Classes
- ChainingOps
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @throws( ... ) @native()
-
def
→[B](y: B): (Descriptor[N], B)
- Implicit
- This member is added by an implicit conversion from Descriptor[N] to ArrowAssoc[Descriptor[N]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc