public class MRegistryObjectWithProperties extends java.lang.Object implements MMetaDescription
Modifier | Constructor and Description |
---|---|
protected |
MRegistryObjectWithProperties()
Constructor
|
protected |
MRegistryObjectWithProperties(MRegistry registry)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
addProperty(java.lang.String name,
java.lang.String value)
Add/Replace a property.
|
java.util.Enumeration |
getProperties()
Enumerate over the list of property values.
|
java.lang.String |
getProperty(java.lang.String name)
Return the value of the named property; null is returned if not found
|
int |
getPropertyCount()
Return number of properties
|
java.util.Enumeration |
getPropertyNames()
Enumerate over the list of property names.
|
MRegistry |
getRegistry() |
boolean |
isOK() |
boolean |
isOK(java.lang.StringBuffer errorReason) |
protected MRegistryObjectWithProperties(MRegistry registry)
protected MRegistryObjectWithProperties()
public int getPropertyCount()
getPropertyCount
in interface MMetaDescription
public java.lang.String getProperty(java.lang.String name)
getProperty
in interface MMetaDescription
public java.util.Enumeration getProperties()
getProperties
in interface MMetaDescription
public java.util.Enumeration getPropertyNames()
getPropertyNames
in interface MMetaDescription
public java.lang.String addProperty(java.lang.String name, java.lang.String value)
public MRegistry getRegistry()
public boolean isOK()
isOK
in interface MMetaDescription
public boolean isOK(java.lang.StringBuffer errorReason)
isOK
in interface MMetaDescription