public class HiddenValueSet extends java.lang.Object implements MboConstants
HiddenValue
ALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER
Constructor and Description |
---|
HiddenValueSet(Mbo ownerMbo,
java.lang.String[] attrNames)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MboValue |
getMboValue(java.lang.String attrName)
Get mbo value from
values . |
void |
setValue(java.lang.String attrName,
java.lang.String val,
long accessModifier)
Set value for attribute in
values . |
void |
setValueNull(java.lang.String attrName,
long accessModifier)
Set null value for attribute in
values . |
public HiddenValueSet(Mbo ownerMbo, java.lang.String[] attrNames) throws MXException
ownerMbo
- The mbo that normally would contain these attributes.attrNames
- The names of the attributes to be hidden.MXException
public MboValue getMboValue(java.lang.String attrName)
values
.attrName
- Attribute namepublic void setValue(java.lang.String attrName, java.lang.String val, long accessModifier) throws MXException
values
.
Set should be called from HiddenValueSet, not from HiddenValue.attrName
- Attribute nameval
- ValueaccessModifier
- Access modifierMXException
MboValue.setValue(psdi.util.MaxType)
,
setValueOnBaseMV(java.lang.String, boolean, int)
public void setValueNull(java.lang.String attrName, long accessModifier) throws MXException
values
.
Set should be called from HiddenValueSet, not from HiddenValue.attrName
- Attribute nameaccessModifier
- Access modifierMXException
MboValue.setValueNull(long)
,
setValueOnBaseMV(java.lang.String, boolean, int)