abstract class Identifiable[A] extends AnyRef
An Identifiable is a simple data type in BigGlue. Within this type, you have an Identity, which is similar to the name of the data type.
- A
The type of the Identifiable. Within the example, this would be bigglue.examples.GitID, bigglue.examples.GitRepo, bigglue.examples.GitCommitInfo, or bigglue.examples.GitCommitGroups.
- Alphabetic
- By Inheritance
- Identifiable
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Identifiable()
Abstract Value Members
-
abstract
def
mkIdentity(): Identity[A]
When creating an Identifiable, you will have to specify an Identity for that Identifiable.
When creating an Identifiable, you will have to specify an Identity for that Identifiable. This can be seen in the example within all of the data types, whose Identity is simply a BasicIdentity that consists of the word sum.
- returns
The Identity of the Identifiable.
- Attributes
- protected[this]
Concrete 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 Identifiable[A] to any2stringadd[Identifiable[A]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (Identifiable[A], B)
- Implicit
- This member is added by an implicit conversion from Identifiable[A] to ArrowAssoc[Identifiable[A]] 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
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
ensuring(cond: (Identifiable[A]) ⇒ Boolean, msg: ⇒ Any): Identifiable[A]
- Implicit
- This member is added by an implicit conversion from Identifiable[A] to Ensuring[Identifiable[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (Identifiable[A]) ⇒ Boolean): Identifiable[A]
- Implicit
- This member is added by an implicit conversion from Identifiable[A] to Ensuring[Identifiable[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Identifiable[A]
- Implicit
- This member is added by an implicit conversion from Identifiable[A] to Ensuring[Identifiable[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): Identifiable[A]
- Implicit
- This member is added by an implicit conversion from Identifiable[A] to Ensuring[Identifiable[A]] 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[java.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 Identifiable[A] to StringFormat[Identifiable[A]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getId(): String
Gets the Id from the identity.
Gets the Id from the identity.
- returns
The Identifiable's name.
-
def
getProvenance(): Option[Provenance]
- returns
Get the Provenance information. If there is no provenance, we return nothing.
-
def
getVersion(): Option[String]
Gets the Version from the identity
Gets the Version from the identity
- returns
The Identifiable's version.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
identity(): Identity[A]
Gets the Identity/name of the object.
- var identityOpt: Option[Identity[A]]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- var provenanceOpt: Option[Provenance]
-
def
setProvenance(prov: Provenance): Unit
Creates a new Provenance information.
Creates a new Provenance information.
- prov
The provenance that we are adding to the Identifiable.
-
def
setVersion(version: String): Unit
Creates a new Identity from the version and then sets that identity as it's identity.
Creates a new Identity from the version and then sets that identity as it's identity.
- version
The version that we are appending.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... )
-
def
→[B](y: B): (Identifiable[A], B)
- Implicit
- This member is added by an implicit conversion from Identifiable[A] to ArrowAssoc[Identifiable[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc