case class CiteObject(urn: Cite2Urn, label: String, propertyList: Vector[CitePropertyImplementation]) extends BaseCitable with Product with Serializable
Representation of a single citable object. Note that this can easily be
constructed from the properties in a set of CiteCollectionData by URN twiddling, but
since the CiteObject representation elevates urn
and label
properties into
object members, its propertyList
will have two items fewer than the properties
resulting from twiddling on a CiteCollectionData or from consulting the
CiteCatalog corresponding to the CiteCollectionData.
- urn
Identifier required by BaseCitable trait.
- label
Human-readable string required by BaseCitable trait.
- propertyList
Possibly empty vector of any further CitePropertyValues belonging to this object.
- Annotations
- @JSExportAll()
- Alphabetic
- By Inheritance
- CiteObject
- Serializable
- Serializable
- Product
- Equals
- BaseCitable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CiteObject(urn: Cite2Urn, label: String, propertyList: Vector[CitePropertyImplementation])
- urn
Identifier required by BaseCitable trait.
- label
Human-readable string required by BaseCitable trait.
- propertyList
Possibly empty vector of any further CitePropertyValues belonging to this object.
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
definitionForProperty(propertyUrn: Cite2Urn): Option[CitePropertyDef]
Find property definition for a given property.
Find property definition for a given property.
- propertyUrn
Property for which to find definition.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
label: String
Human-readable string labelling this object.
Human-readable string labelling this object.
- Definition Classes
- CiteObject → BaseCitable
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
numericGreaterThan(propertyUrn: Cite2Urn, n: Double): Boolean
True if the value of a given property is greater than a given value.
True if the value of a given property is greater than a given value.
- propertyUrn
Property to test.
- n
Value to compare.
-
def
numericGreaterThan(n: Double): Boolean
True if any numeric property of the object is greater than the given value.
True if any numeric property of the object is greater than the given value.
- n
Value to compare.
-
def
numericGreaterThanOrEqual(propertyUrn: Cite2Urn, n: Double): Boolean
True if the value of a given property is greater than or equal to a given value.
True if the value of a given property is greater than or equal to a given value.
- propertyUrn
Property to test.
- n
Value to compare.
-
def
numericGreaterThanOrEqual(n: Double): Boolean
True if any numeric property of the object is greater than or equal to the given value.
True if any numeric property of the object is greater than or equal to the given value.
- n
Value to compare.
-
def
numericLessThan(propertyUrn: Cite2Urn, n: Double): Boolean
True if the value of a given property is less than a given value.
True if the value of a given property is less than a given value.
- propertyUrn
Property to test.
- n
Value to compare.
-
def
numericLessThan(n: Double): Boolean
True if any numeric property of the object is less than the given value.
True if any numeric property of the object is less than the given value.
- n
Value to compare.
-
def
numericLessThanOrEqual(propertyUrn: Cite2Urn, n: Double): Boolean
True if the value of a given property is less than or equal to a given value.
True if the value of a given property is less than or equal to a given value.
- propertyUrn
Property to test.
- n
Value to compare.
-
def
numericLessThanOrEqual(n: Double): Boolean
True if any numeric property of the object is less than or equal to the given value.
True if any numeric property of the object is less than or equal to the given value.
- n
Value to compare.
-
def
numericWithin(propertyUrn: Cite2Urn, n1: Double, n2: Double): Boolean
True if the value of a given property falls within a range of two numeric values.
True if the value of a given property falls within a range of two numeric values.
- propertyUrn
Property to test.
- n1
Lower bound,inclusive.
- n2
Upperbound, inclusive.
-
def
numericWithin(n1: Double, n2: Double): Boolean
True if the value of any numeric property of the object falls within a range of two numeric values.
True if the value of any numeric property of the object falls within a range of two numeric values.
- n1
Lower bound,inclusive.
- n2
Upperbound, inclusive.
-
val
propertyList: Vector[CitePropertyImplementation]
Vector of any further CitePropertyValues belonging to this object.
Vector of any further CitePropertyValues belonging to this object. Note that the Vector may be empty.
- Definition Classes
- CiteObject → BaseCitable
-
def
propertyValue(propertyUrn: Cite2Urn): Any
Find value of a given property.
Find value of a given property.
- propertyUrn
Property to find value for.
-
def
regexMatch(propertyUrn: Cite2Urn, re: String): Boolean
True if the value of a given property matches the given regular expression.
True if the value of a given property matches the given regular expression.
- propertyUrn
Property to test.
- re
String definition of a regular expression to test for.
-
def
regexMatch(re: String): Boolean
True if any string property of the object matches the given regular expression.
True if any string property of the object matches the given regular expression.
- re
String definition of a regular expression to test for.
-
def
stringContains(propertyUrn: Cite2Urn, s: String, caseSensitive: Boolean): Boolean
True if any the value of a given property contains a given substring, optionally taking case into consideration.
True if any the value of a given property contains a given substring, optionally taking case into consideration.
- propertyUrn
Property to test.
- s
Substring to compare.
- caseSensitive
True if case should be considered in comparing strings.
-
def
stringContains(s: String, caseSensitive: Boolean = true): Boolean
True if any string property of the object contains a given substring, optionally taking case into consideration.
True if any string property of the object contains a given substring, optionally taking case into consideration.
- s
Substring to compare.
- caseSensitive
True if case should be considered in comparing strings.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
urn: Cite2Urn
URN uniquely identifying this object.
URN uniquely identifying this object. The URN must include an object selector component, and its collection hierarachy must be at the version level.
- Definition Classes
- CiteObject → BaseCitable
-
def
urnMatch(propertyUrn: Cite2Urn, u: Urn): Boolean
True if a given property matches the given URN.
True if a given property matches the given URN.
- propertyUrn
Property to test.
- u
URN test for.
-
def
urnMatch(u: Urn): Boolean
True if any URN property of the object matches the given URN.
True if any URN property of the object matches the given URN.
- u
URN test for.
-
def
valueEquals(propertyUrn: Cite2Urn, pValue: Any): Boolean
True if the value of a given property matches a given value.
True if the value of a given property matches a given value.
- propertyUrn
Property to test.
- pValue
Value to test for.
-
def
valueEquals(pValue: Any): Boolean
True if any property of the object matches the given value.
True if any property of the object matches the given value.
- pValue
Value to test for.
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.