Package com.portal.bas
Class PRestrictedValue
java.lang.Object
com.portal.bas.PRestrictedValue
- All Implemented Interfaces:
Serializable
PRestrictedValue
wraps an object supplied by Portal with
the restrictions that govern its use. Client objects getting data
from the server should be aware of this type and use it properly.
PInfranetMessageFormat
and PFieldComponentRenderer
handle
it properly.- Version:
- 4
- Author:
- Larry Lynch-Freshner
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPRestrictedValue
(Object value, PRestriction res) Creates a newPRestrictedValue
instance from an object and a restriction. -
Method Summary
Modifier and TypeMethodDescriptionGets the value's restriction.getValue()
Gets the wrapped value.
-
Constructor Details
-
PRestrictedValue
Creates a newPRestrictedValue
instance from an object and a restriction.- Parameters:
value
- the database value from Portalres
- a restriction object that describes the value's allowable usage
-
-
Method Details
-
getValue
Gets the wrapped value.- Returns:
- The wrapped value object.
-
getRestriction
Gets the value's restriction.- Returns:
- The value's restriction object.
-