public class PRestrictedValue extends Object implements 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.Constructor and Description |
---|
PRestrictedValue(Object value,
PRestriction res)
Creates a new
PRestrictedValue instance from an object and
a restriction. |
Modifier and Type | Method and Description |
---|---|
PRestriction |
getRestriction()
Gets the value's restriction.
|
Object |
getValue()
Gets the wrapped value.
|
public PRestrictedValue(Object value, PRestriction res)
PRestrictedValue
instance from an object and
a restriction.value
- the database value from Portalres
- a restriction object that describes the value's allowable usagepublic Object getValue()
public PRestriction getRestriction()
Copyright © 2003, 2023, Oracle and/or its affiliates.