public class PropertyInfoRestRep extends PropertyInfo
PropertyInfo.PropCategory| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CONFIG_VERSION  | 
static java.lang.String | 
CONNECTEMC_TRANSPORT  | 
| Constructor and Description | 
|---|
PropertyInfoRestRep()  | 
PropertyInfoRestRep(java.util.Map<java.lang.String,java.lang.String> properties)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addProperties(java.util.Map<java.lang.String,java.lang.String> map)  | 
void | 
addProperty(java.lang.String propName,
           java.lang.String propValue)  | 
boolean | 
diff(PropertyInfoRestRep object)
Compare properties' values
 Return true if common properties' value have been changed or symmetric difference is not none 
 | 
java.util.Map<java.lang.String,java.lang.String> | 
getAllProperties()
Get all properties 
 | 
java.util.Map<java.lang.String,java.lang.String> | 
getDiffProperties(PropertyInfoRestRep object)
Get the properties which values are different in object and this._properties. 
 | 
java.lang.String | 
getProperty(java.lang.String name)
Get a specified property 
 | 
boolean | 
isEmpty()  | 
void | 
removeProperties(java.util.List<java.lang.String> props)  | 
void | 
removeProperties(java.util.Set<java.lang.String> props)  | 
void | 
removeProperty(java.lang.String propName)  | 
getProperties, setPropertiespublic static final java.lang.String CONFIG_VERSION
public static final java.lang.String CONNECTEMC_TRANSPORT
public PropertyInfoRestRep()
public PropertyInfoRestRep(java.util.Map<java.lang.String,java.lang.String> properties)
public java.util.Map<java.lang.String,java.lang.String> getAllProperties()
PropertyInfogetAllProperties in class PropertyInfopublic java.lang.String getProperty(java.lang.String name)
PropertyInfogetProperty in class PropertyInfoname - property namepublic void addProperties(java.util.Map<java.lang.String,java.lang.String> map)
public boolean diff(PropertyInfoRestRep object)
object - public java.util.Map<java.lang.String,java.lang.String> getDiffProperties(PropertyInfoRestRep object)
object - public void removeProperty(java.lang.String propName)
public void removeProperties(java.util.Set<java.lang.String> props)
public void removeProperties(java.util.List<java.lang.String> props)
public void addProperty(java.lang.String propName,
                        java.lang.String propValue)
public boolean isEmpty()