cnrg.itx.datax
Interface Property

All Known Implementing Classes:
NetworkProperty, AudioProperty

public abstract interface Property
extends java.io.Serializable

Interface to abstract a property object. This has to be implemented by any device property class.


Fields inherited from class java.io.Serializable
serialVersionUID
 
Method Summary
 PropertiesCollection findOptimal(PropertiesCollection pc)
          Returns the optimal set of properties when merging this property with a properties collection
 PropertiesCollection merge(PropertiesCollection pc)
          Finds intersection of compatible properies properties.
 

Method Detail

merge

public PropertiesCollection merge(PropertiesCollection pc)
                           throws DataException
Finds intersection of compatible properies properties. Otherwise the union
Throws:
DataException - thrown when two incompatible properties have been found

findOptimal

public PropertiesCollection findOptimal(PropertiesCollection pc)
                                 throws DataException
Returns the optimal set of properties when merging this property with a properties collection
Throws:
DataException - thrown when two incompatible properties have been found