case class I[A](a: A) extends Identifiable[I[A]] with Product with Serializable
A wrapper class for types that are not Identifiable. This is mainly meant for basic types like Int, String, and Boolean, but can easily work for other types of classes. For example, you may need to wrap Integers into the Identifiable class to work for BigGlue, so we use I[Int]s. With this class, the Identity of the class is simply what the string representation of that object is.
- A
The type of the value wrapped within the identifiable.
- a
The actual value wrapped within the identifiable.
- Alphabetic
- By Inheritance
- I
- Serializable
- Serializable
- Product
- Equals
- Identifiable
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
I(a: A)
- a
The actual value wrapped within the identifiable.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (I[A], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val a: A
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def ensuring(cond: (I[A]) ⇒ Boolean, msg: ⇒ Any): I[A]
- def ensuring(cond: (I[A]) ⇒ Boolean): I[A]
- def ensuring(cond: Boolean, msg: ⇒ Any): I[A]
- def ensuring(cond: Boolean): I[A]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getId(): String
Gets the Id from the identity.
-
def
getProvenance(): Option[Provenance]
- returns
Get the Provenance information. If there is no provenance, we return nothing.
- Definition Classes
- Identifiable
-
def
getVersion(): Option[String]
Gets the Version from the identity
- def i(): A
-
def
identity(): Identity[I[A]]
Gets the Identity/name of the object.
Gets the Identity/name of the object.
- returns
The Identity of the object/
- Definition Classes
- Identifiable
-
var
identityOpt: Option[Identity[I[A]]]
- Definition Classes
- Identifiable
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mkIdentity(): Identity[I[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.
- Definition Classes
- I → Identifiable
-
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]
- Definition Classes
- Identifiable
-
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.
- Definition Classes
- 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.
- Definition Classes
- Identifiable
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- I → 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): (I[A], B)