Package com.sun.messaging
Interface PropertyOwner
-
public interface PropertyOwnerThePropertyOwnerinterface is implemented by any property that owns other properties. The property type of this property iscom.sun.messaging.PropertyOwner.Setting a property Type to
com.sun.messaging.PropertyOwnerindicates that dependant property information can be obtained from the class via the interface methods described below.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetPropertyDefault(java.lang.String propname)Returns the default value of a single owned property.java.lang.StringgetPropertyLabel(java.lang.String propname)Returns the label of a single owned property.java.lang.String[]getPropertyNames()Returns a String array of property names that thisPropertyOwnerowns.java.lang.StringgetPropertyType(java.lang.String propname)Returns the type of a single owned property.
-
-
-
Method Detail
-
getPropertyNames
java.lang.String[] getPropertyNames()
Returns a String array of property names that thisPropertyOwnerowns.- Returns:
- The String array of property names that this
PropertyOwnerowns.
-
getPropertyType
java.lang.String getPropertyType(java.lang.String propname)
Returns the type of a single owned property.- Parameters:
propname- The name of the owned property.- Returns:
- The type of the owned property
propname.nullif the propertypropnameis invalid.
-
getPropertyLabel
java.lang.String getPropertyLabel(java.lang.String propname)
Returns the label of a single owned property.- Parameters:
propname- The name of the owned property.- Returns:
- The label of the owned property
propname.nullif the propertypropnameis invalid.
-
getPropertyDefault
java.lang.String getPropertyDefault(java.lang.String propname)
Returns the default value of a single owned property.- Parameters:
propname- The name of the owned property.- Returns:
- The default value of the owned property
propname.nullif the propertypropnameis invalid.
-
-