Packages

object Asset extends CIMParseable[Asset] with Serializable

Linear Supertypes
Serializable, Serializable, CIMParseable[Asset], CIMParser, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Asset
  2. Serializable
  3. Serializable
  4. CIMParseable
  5. CIMParser
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait FielderFunction extends AnyRef
    Definition Classes
    CIMParser
  2. trait FielderFunctionMultiple extends AnyRef
    Definition Classes
    CIMParser
  3. type Expression = (Pattern, Int)
    Definition Classes
    CIMParser
  4. type Field = Option[String]
    Definition Classes
    CIMParser
  5. type Fielder = FielderFunction
    Definition Classes
    CIMParser
  6. type FielderMultiple = FielderFunctionMultiple
    Definition Classes
    CIMParser
  7. type Fields = Option[List[String]]
    Definition Classes
    CIMParser

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val ActivityRecords: FielderMultiple
  5. val Analytic: FielderMultiple
  6. val AnalyticScore: FielderMultiple
  7. val AssetContainer: Fielder
  8. val AssetDeployment: Fielder
  9. val AssetFunction: FielderMultiple
  10. val AssetGroup: FielderMultiple
  11. val AssetInfo: Fielder
  12. val AssetPropertyCurves: FielderMultiple
  13. val BreakerOperation: Fielder
  14. val ConfigurationEvents: FielderMultiple
  15. val ErpInventory: Fielder
  16. val ErpItemMaster: Fielder
  17. val ErpRecDeliveryItems: FielderMultiple
  18. val FinancialInfo: Fielder
  19. val Location: Fielder
  20. val Measurements: FielderMultiple
  21. val Medium: FielderMultiple
  22. val OperationalTags: FielderMultiple
  23. val OrganisationRoles: FielderMultiple
  24. val Ownerships: FielderMultiple
  25. val PowerSystemResources: FielderMultiple
  26. val ProcedureDataSet: FielderMultiple
  27. val Procedures: FielderMultiple
  28. val ProductAssetModel: Fielder
  29. val Reconditionings: FielderMultiple
  30. val ReliabilityInfos: FielderMultiple
  31. val ReplacementWorkTasks: FielderMultiple
  32. val ScheduledEvents: FielderMultiple
  33. val WorkTasks: FielderMultiple
  34. val acceptanceTest: Fielder
  35. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  36. def attribute(cls: String, name: String): Expression

    Regular expression to parse an attribute.

    Regular expression to parse an attribute. For example: <cim:ACLineSegmentPhase.phase rdf:resource="http://iec.ch/TC57/2013/CIM-schema-cim16#SinglePhaseKind.A"/>

    cls

    The class name.

    name

    The attribute name (without namespace prefix).

    returns

    The compiled regex pattern and the index of the match group.

    Definition Classes
    CIMParser
  37. val baselineCondition: Fielder
  38. val baselineLossOfLife: Fielder
  39. val classname: String
    Definition Classes
    CIMParseable
  40. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  41. val cls: String
    Definition Classes
    CIMParseable
  42. val critical: Fielder
  43. val electronicAddress: Fielder
  44. def element(cls: String, name: String): Expression

    Regular expression to parse an element.

    Regular expression to parse an element. For example: <cim:ACLineSegment.r>0.224</cim:ACLineSegment.r>

    cls

    The class name.

    name

    The element name (without namespace prefix).

    returns

    The compiled regex pattern and the index of the match group.

    Definition Classes
    CIMParser
  45. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  46. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  47. val fields: Array[String]
    Definition Classes
    AssetCIMParser
  48. def fieldsToBitfields(strings: String*): Array[Int]

    Create the integer array of bitfields from field names.

    Create the integer array of bitfields from field names.

    strings

    the names of the fields to set the bits for

    returns

    the bitfield array corresponding to the given field names

    Definition Classes
    CIMParser
  49. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  50. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  51. val inUseDate: Fielder
  52. val inUseState: Fielder
  53. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  54. val kind: Fielder
  55. val lifecycleDate: Fielder
  56. val lifecycleState: Fielder
  57. val lotNumber: Fielder
  58. def mask(field: Field, position: Int)(implicit bitfields: Array[Int]): String
    Definition Classes
    CIMParseable
  59. def masks(fields: Fields, position: Int)(implicit bitfields: Array[Int]): List[String]
    Definition Classes
    CIMParseable
  60. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  61. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  62. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  63. def parse(context: CIMContext): Asset

    Abstract parse function.

    Abstract parse function. To be overridden in each implemented class. This is intended to be used by the companion object of each CIM class to provide a way to parse the XML element and generate the CIM class. The hierarchical nature of the generated elements necessitates CIM classes to call their CIM superclass parser, for example, since Terminal is a subclass of ACDCTerminal, it should invoke the superclass parse method.

    def parse (context: Context): Terminal =
    {
        Terminal
        (
            ACDCTerminal.parse (context),
            ...
        )
    }
    context

    The context for the substring in the XML and line number and position context for reporting in case of an error.

    returns

    The parsed CIM element, e.g. ACLineSegment.

    Definition Classes
    AssetCIMParser
  64. def parse_attribute(pattern: (Pattern, Int)): FielderFunction

    Create a function to parse one attribute from an XML string.

    Create a function to parse one attribute from an XML string.

    pattern

    A Tuple2 of the regular expression pattern to look for and the index of the capture group to extract from within the pattern.

    returns

    A function for parsing the attribute.

    Definition Classes
    CIMParser
  65. def parse_attributes(pattern: (Pattern, Int)): FielderMultiple

    Create a function to parse one or more attributes from an XML string.

    Create a function to parse one or more attributes from an XML string.

    pattern

    A Tuple2 of the regular expression pattern to look for and the index of the capture group to extract from within the pattern.

    returns

    A function for parsing the attributes.

    Definition Classes
    CIMParser
  66. def parse_element(pattern: Expression): FielderFunction

    Create a function to parse one XML element from a string.

    Create a function to parse one XML element from a string.

    pattern

    A Tuple2 of the regular expression pattern to look for and the index of the capture group to extract from within the pattern.

    returns

    A function for parsing the element.

    Definition Classes
    CIMParser
  67. def parse_elements(pattern: Expression): FielderFunctionMultiple

    Parse one or more XML elements from a string.

    Parse one or more XML elements from a string.

    pattern

    A Tuple2 of the regular expression pattern to look for and the index of the capture group to extract from within the pattern.

    returns

    A function for parsing the elements.

    Definition Classes
    CIMParser
  68. val position: Fielder
  69. val purchasePrice: Fielder
  70. def register: CIMClassInfo
    Definition Classes
    CIMParseable
  71. val relations: List[CIMRelationship]
    Definition Classes
    AssetCIMParser
  72. val retiredReason: Fielder
  73. val runtime_class: Class[_]
    Definition Classes
    CIMParseable
  74. val serialNumber: Fielder
  75. def serializer: Serializer[Asset]
    Definition Classes
    AssetCIMParser
  76. val status: Fielder
  77. val subsetter: CIMSubsetter[_ <: Product]
    Definition Classes
    CIMParseable
  78. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  79. def toBoolean(string: String)(implicit context: CIMContext): Boolean

    Convert a string into a boolean.

    Convert a string into a boolean.

    string

    The string to convert. Should be either "true" or "false". <null> and the empty string are considered false.

    context

    The context for reporting in case of an unparseable boolean.

    returns

    The boolean value.

    Definition Classes
    CIMParser
  80. def toDouble(string: String)(implicit context: CIMContext): Double

    Convert a string into a floating point value.

    Convert a string into a floating point value.

    string

    The string to convert. Should be a valid floating point formatted number although whitespace at the beginning or end is tolerated.

    context

    The context for reporting in case of an unparseable double.

    returns

    The double value.

    Definition Classes
    CIMParser
  81. def toInteger(string: String)(implicit context: CIMContext): Int

    Convert a string into an integer.

    Convert a string into an integer.

    string

    The string to convert. Should be just digits although whitespace at the beginning or end is tolerated.

    context

    The context for reporting in case of an unparseable integer.

    returns

    The integer value.

    Definition Classes
    CIMParser
  82. def toString(): String
    Definition Classes
    AnyRef → Any
  83. val type: Fielder
  84. val utcNumber: Fielder
  85. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  86. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  87. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. 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.

Inherited from Serializable

Inherited from Serializable

Inherited from CIMParseable[Asset]

Inherited from CIMParser

Inherited from AnyRef

Inherited from Any

Ungrouped