|
SAP NetWeaver 7.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.netweaver.bc.rf.common.property.PropertyFlags
public final class PropertyFlags
Class implementing the internal system attributes of a property. They are mapped into a bit array hold by the flags field in the property class for greater performance and less memory consumption.
| Field Summary | |
|---|---|
static int |
HIDDEN_BIT_MASK
Bit mask for the internal system attribute named "hidden". |
static int |
LIVE_BIT_MASK
Bit mask for the internal system attribute named "live". |
static int |
READONLY_BIT_MASK
Bit mask for the internal system attribute named "read only". |
static int |
REQUIRED_BIT_MASK
Bit mask for the internal system attribute named "required". |
| Constructor Summary | |
|---|---|
PropertyFlags()
|
|
| Method Summary | |
|---|---|
static int |
constructFlags(boolean required,
boolean live,
boolean readOnly,
boolean hidden)
Construct property flags based on given explicit internal system attributes. |
static boolean |
isHidden(int flags)
Returns true if these property flags indicate that its holding property has the internal system attribute "hidden". |
static boolean |
isLive(int flags)
Returns true if these property flags indicate that its holding property has the internal system attribute "live". |
static boolean |
isReadOnly(int flags)
Returns true if these property flags indicate that its holding property has the internal system attribute "read only". |
static boolean |
isRequired(int flags)
Returns true if these property flags indicate that its holding property has the internal system attribute "required". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int REQUIRED_BIT_MASK
public static final int LIVE_BIT_MASK
public static final int READONLY_BIT_MASK
public static final int HIDDEN_BIT_MASK
| Constructor Detail |
|---|
public PropertyFlags()
| Method Detail |
|---|
public static final int constructFlags(boolean required,
boolean live,
boolean readOnly,
boolean hidden)
required - true if this property should be requiredlive - true if this property should be livereadOnly - true if this property should be read onlyhidden - true if this property should be hidden
public static final boolean isRequired(int flags)
flags - bit array holding internal system attributes according to
PropertyFlags bit mask fields
public static final boolean isLive(int flags)
flags - bit array holding internal system attributes according to
PropertyFlags bit mask fields
public static final boolean isReadOnly(int flags)
flags - bit array holding internal system attributes according to
PropertyFlags bit mask fields
public static final boolean isHidden(int flags)
flags - bit array holding internal system attributes according to
PropertyFlags bit mask fields
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
|
SAP NetWeaver 7.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||