com.sun.messaging
public interface PropertyOwner
PropertyOwner
interface is implemented by any property that owns
other properties. The property type of this property is com.sun.messaging.PropertyOwner
.
Setting a property Type to com.sun.messaging.PropertyOwner
indicates
that dependant property information can be obtained from the class via the
interface methods described below.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPropertyDefault(java.lang.String propname)
Returns the default value of a single owned property.
|
java.lang.String |
getPropertyLabel(java.lang.String propname)
Returns the label of a single owned property.
|
java.lang.String[] |
getPropertyNames()
Returns a String array of property names that this
PropertyOwner
owns. |
java.lang.String |
getPropertyType(java.lang.String propname)
Returns the type of a single owned property.
|
java.lang.String[] getPropertyNames()
PropertyOwner
owns.PropertyOwner
owns.java.lang.String getPropertyType(java.lang.String propname)
propname
- The name of the owned property.propname
.
null
if the property propname
is invalid.java.lang.String getPropertyLabel(java.lang.String propname)
propname
- The name of the owned property.propname
.
null
if the property propname
is invalid.java.lang.String getPropertyDefault(java.lang.String propname)
propname
- The name of the owned property.propname
.
null
if the property propname
is invalid.Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.