Interface XpropsEntity

All Known Subinterfaces:
EventEntity
All Known Implementing Classes:
BwAlarm, BwEvent, BwEventAnnotation, BwEventNewWrapper, BwEventObj, BwEventProxy

public interface XpropsEntity
An entity that can have one or more x-properties will implement this interface.
Author:
douglm
  • Method Details

    • setXproperties

      void setXproperties(List<BwXproperty> val)
      Set the x-props
      Parameters:
      val - List of x-props
    • getXproperties

      List<BwXproperty> getXproperties()
      Returns:
      List
    • getNumXproperties

      int getNumXproperties()
      Returns:
      int
    • getXproperties

      List<BwXproperty> getXproperties(String val)
      Parameters:
      val - - name to match
      Returns:
      list of matching properties - never null
    • getXicalProperties

      List<BwXproperty> getXicalProperties(String val)
      Find x-properties storing the value of the named ical property
      Parameters:
      val - - name to match
      Returns:
      list of matching properties - never null
    • getXnonskipProperties

      default List<BwXproperty> getXnonskipProperties()
      REturn x-properties not skipped
      Returns:
      list of matching properties - never null
    • removeXproperties

      int removeXproperties(String val)
      Remove all instances of the named property.
      Parameters:
      val - - name to match
      Returns:
      number of removed proeprties
    • addXproperty

      void addXproperty(BwXproperty val)
      Parameters:
      val - an x-prop
    • removeXproperty

      void removeXproperty(BwXproperty val)
      Parameters:
      val - an x-prop
    • cloneXproperty

      List<BwXproperty> cloneXproperty()
      Returns:
      List of x-properties