Interface Propertyset

  • All Superinterfaces:
    Map<String,​Value>
    All Known Implementing Classes:
    PropertysetImpl, PropertysetNil, PropertysetRecordingSaveTime

    public interface Propertyset
    extends Map<String,​Value>
    Interface defining a class that can function as both nodes and edges in a model graph. The graph shold be easy to work and there should be no need to check for null values: the typed property accessors will never return null. The raw property accessors will return null values for unset properties, but the raw accessors are mainly intended for reflection.
    • Method Detail

      • copyValues

        void copyValues​(Propertyset propertyset)
        Copy all property values from the propertyset given as argument into the current propertyset, except for the "id" property.
        Parameters:
        propertyset - the Propertyset to copy from
      • isNil

        boolean isNil()
      • getProperty

        Value getProperty​(String propertyname)
      • setProperty

        void setProperty​(String propertyname,
                         Value property)
      • hasAspect

        boolean hasAspect()
      • hasId

        boolean hasId()
      • getId

        UUID getId()
      • getBooleanProperty

        Boolean getBooleanProperty​(String propertyname)
      • setBooleanProperty

        void setBooleanProperty​(String propertyname,
                                Boolean boolValue)
      • setBooleanProperty

        void setBooleanProperty​(String propertyname,
                                boolean boolValue)
      • getLongProperty

        Long getLongProperty​(String propertyname)
      • setLongProperty

        void setLongProperty​(String propertyname,
                             Long intValue)
      • setLongProperty

        void setLongProperty​(String propertyname,
                             long intvalue)
      • getDoubleProperty

        Double getDoubleProperty​(String propertyname)
      • setDoubleProperty

        void setDoubleProperty​(String propertyname,
                               Double doubleValue)
      • setDoubleProperty

        void setDoubleProperty​(String propertyname,
                               double doubleValue)
      • getStringProperty

        String getStringProperty​(String propertyname)
      • setStringProperty

        void setStringProperty​(String propertyname,
                               String stringValue)
      • setComplexProperty

        void setComplexProperty​(String propertyname,
                                Propertyset complexProperty)
      • setReferenceProperty

        void setReferenceProperty​(String propertyname,
                                  Propertyset referencedObject)
      • setListProperty

        void setListProperty​(String propertyname,
                             ValueList listValue)