|
SAP NetWeaver 7.30 (SP02) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPcdAttribute
The Pcd specific attribute interface. It extends the standard interface
javax.naming.directory.Attribute.
This interface may be extended in future releases. It is thus highly
recommended not to implement this interface yourself! New instances of
IPcdAttribute can be retrieved from IPcdUtils.
The attribute values can have one of the following types: String, InputStream, Integer, Long, Double, Boolean, Byte, Date and Text.
For Integer, Long, Double, Boolean and Byte values there are convenience
methods using the simple types int, long, double, boolean and byte. Binaries
can be stored by passing an InputStream to the
add() and set() methods. It is more efficient
storing binaries using the appropriate convenience methods. In contrary to
the general JNDI specification Null values are not allowed. The methode
get() on a BINARY_STREAM attribute returns a
InputStream. There are also special methods for text values.
For text-attributes, the standard methods add,
set and get (as defined in
javax.Nameing.Directory.Attribute) are not supported, because
all text-operations require a locale to be defined. For text attributes there
are special set and get methods which require a locale as a parameter.
For retrieving the value type etc. of an attribute, special methods are defined here. However, no concept of arbitrary meta-attributes (attributes of attributes) exists. Only following syntax for attribute-Id is suggested, which allows to associate attributes with their (meta-)attributes:
<meta_prefix><meta_attribute_seperator><attr_name>
The meta_prefix is the attribute-id of the underlying
attribute.
Example: Assume color is the id of an attribute, then
color-values is an attribute of color (since
"-" is the meta_attribute_seperator).
Additionally, it is suggested to use namespaces for attribute-ids. This avoids conflicts between different applications, that operate on the same objects. This interfaces defines deliminators for namespaces and methods for the retrieval of an attribute-ids namespace.
The full syntax for attribute-ids that defines "meta"-attributes and namespaces, is as follows:
<attribute_id> = [ <meta_prefix> ] <simple_id>
<simple_id> = [ <namespace_prefix> ] <atomic_id>
<namespace_prefix> = <atomic_id> <namespace_seperator> |
<namespace_prefix> <atomic_id> <namespace_seperator>
<meta_prefix> = <simple_id& <meta_seperator> |
<meta_prefix> <simple_id& <meta_seperator>
<atomic_id> = <i>all sequences of characters and digits that do not contain</i>
<namespace_seperator> <i>and/or</i> <meta_seperator>
A detailed description of text attributes and their modifications is given in
the package description.
This interface is not intended to be implemented by clients.
| Nested Class Summary | |
|---|---|
static class |
IPcdAttribute.DL_STATE
Possible values of the attribute DELTA_LINK_STATE |
static class |
IPcdAttribute.SEARCH
This subclass holds search relevant constants. |
| Field Summary | |
|---|---|
static String |
ACTIVITY_REPRESENTATION_ASPECT
Activity representation aspect |
static String |
APPLICATION
Mandatory schema attribute for object classes. |
static String |
ASPECT_EXISTENCE
|
static String |
ASPECT_PERMISSION
|
static String |
ASPECT_PERMISSION_NAME
|
static String |
ATOMIC_NAME
Virtual attribute for the atomic name of an object. |
static String |
ATTR_INHERITANCE_FINAL
Return values for method getInheritance |
static String |
ATTR_INHERITANCE_NONFINAL
Return values for method getInheritance |
static String |
ATTR_META_SEPERATOR
|
static char |
ATTR_META_SEPERATOR_CHAR
Meta-Attribute separator: For the definition of attribute-attributes, the syntax <meta_prefix><attr_meta_seperator><attr_name> is recommended. |
static String |
ATTR_NAMESPACE_SEPERATOR
|
static char |
ATTR_NAMESPACE_SEPERATOR_CHAR
Recommended namespace seperator in attribute-ids. |
static String |
ATTR_STORAGE_GROUP
Deprecated. will be removed with NW05 |
static String |
ATTR_STORAGE_NON_PERSONALIZABLE
Return value for method getStorage overrides inheritance=non-final |
static String |
ATTR_STORAGE_ORIGINAL
Deprecated. use ATTR_STORAGE_NON_PERSONALIZABLEinstead |
static String |
ATTR_STORAGE_PERSONALIZABLE
Return value for method getStorage that denotes a personalizable attribute; this is overridden by inheritance=final! |
static String |
ATTR_STORAGE_USER
Deprecated. use ATTR_STORAGE_PERSONALIZABLEinstead |
static String |
COLLECTION
Deprecated. use the unit attribute IUnit.COLLECTIONinstead |
static String |
CREATED_AT
Deprecated. With NW 05, this attribute will be removed without full replacement; instead this information will be maintained on unit root nodes only. |
static String |
CREATED_BY
Deprecated. With NW 05, this attribute will be removed without full replacement; instead this information will be maintained on unit root nodes only. |
static String |
DELTA_LINK_STATE
Delta link state of the object. |
static String |
DESCRIPTION
|
static String |
DL_MODIFIED_SORT_STRING_ATTRIBUTE
|
static String |
DL_MODIFROOT_NAME
|
static String |
DL_PLUSROOT_NAME
|
static String |
DL_TARGET
|
static String |
DL_TARGETRELATION_NAME
Deprecated. the deltalink target must only be addressed through the specific methods in IDeltaLink |
static String |
DOMAIN
Deprecated. use the unit attribute IUnit.DOMAINinstead |
static Locale |
EMPTY_LOCALE
Empty Locale. |
static String |
ENHANCED_PERMISSIONS
|
static String |
FILTER_ASSIGNMENT
Assigned filter class |
static String |
FILTER_FACTORY
Schema attribute for filter factory |
static String |
GL_NAMESPACE_PREFIX
Namespace for all attributes used by the pcd gl itself |
static int |
GL_NAMESPACE_PREFIX_LENGTH
|
static String |
HANDLED_ASPECTS
Schema attribute: list of handled aspects for context converter classes |
static String |
IMPLEMENTED_ASPECTS
Schema attribute: list of implemented aspects |
static String |
IMPLEMENTED_INTERFACES
Optional definition of additional interfaces that are implemented by the semantic object which is created by the object factory |
static String |
INHERITS_FROM
As attribute of an object class, this denotes the inheritance of the object class. |
static String |
IS_BROKEN_DELTALINK
|
static String |
IS_BROKEN_DELTALINK_DUE_TO_CYCLE
|
static String |
IS_DELTALINK
|
static String |
JAVA_CLASS
Mandatory attribute for object classes. |
static String |
JAVA_INTERFACE
Mandatory attribute for object classes. |
static String |
LAST_CHANGED_AT
Deprecated. With NW 05, this attribute will be removed without full replacement; instead this information will be maintained on unit root nodes only. |
static String |
LAST_CHANGED_BY
Deprecated. With NW 05, this attribute will be removed without full replacement; instead this information will be maintained on unit root nodes only. |
static String |
NO_SUBCONTEXT_CACHE
If this attribute is set, the context does not cache the list of its subcontexts. |
static String |
OBJECT_CLASS
This is a mandatory attribute for every object. |
static String |
OBJECT_CLASS_CONTEXTCONVERTER
Predefined object class "com.sap.portal.pcd.gl.GlContextConverter". |
static String |
OBJECT_CLASS_FILTERCLASS
Predefined object class "com.sap.portal.pcd.gl.FilterClass". |
static String |
OBJECT_CLASS_GL_CONTEXT
Predefined object class "com.sap.portal.pcd.gl.GlContext". |
static String |
OBJECT_CLASS_GL_LINKREF
Predefined object class "com.sap.portal.pcd.gl.GlLinkRef" This is used internally only. |
static String |
OBJECT_CLASS_GL_RELATION
Predefined object class "com.sap.portal.pcd.gl.GlRelation". |
static String |
OBJECT_CLASS_OBJECTCLASS
Predefined object class "com.sap.portal.pcd.gl.ObjectClass" This object class can only be assigned to schema entries. |
static String |
OBJECT_FACTORY
Mandatory attribute for object classes. |
static String |
ORIGINAL_COUNTRY
Deprecated. use the dedicated methods for the original locale in IUnitinstead |
static String |
ORIGINAL_LANGUAGE
Deprecated. use the dedicated methods for the original locale in IUnitinstead |
static String |
PERSISTENCY_ASPECT
|
static String |
READONLY_ASPECTS
Schema attribute that denotes the list of aspects that the object provider declares to be "read-only" compliant. |
static String |
RESPONSIBLE
Deprecated. use the unit attribute IUnit.RESPONSIBLEinstead |
static String |
SCHEMA_ATTRIBUTE_APPLICATION_TYPE
Schema attribute: Application Type. |
static String |
SCHEMA_ATTRIBUTE_LOCAL_MIME_PATH
Schema attribute: Local Mime Path. |
static String |
STATE_FACTORY
Mandatory attribute for object classes. |
static String |
TRANSPORT_DEPENDENCIES
Optional attribute for transportable objects. |
static String |
TRANSPORTABLE
Optional attribute for transportable objects. |
| Fields inherited from interface javax.naming.directory.Attribute |
|---|
serialVersionUID |
| Method Summary | |
|---|---|
void |
add(int ix,
Object value)
Adds an attribute value to the ordered list of attribute values. |
boolean |
add(Object value)
Adds a new value to the attribute. |
boolean |
addBinaries(InputStream is,
int length)
Adds a new value to the attribute. |
void |
addBinaries(int ix,
InputStream is,
int length)
Adds an attribute value to the ordered list of attribute values. |
boolean |
addBoolean(boolean value)
Adds a new value to the attribute. |
void |
addBoolean(int ix,
boolean value)
Adds an attribute value to the ordered list of attribute values. |
boolean |
addByte(byte value)
Adds a new value to the attribute. |
void |
addByte(int ix,
byte value)
Adds an attribute value to the ordered list of attribute values. |
boolean |
addDouble(double value)
Adds a new value to the attribute. |
void |
addDouble(int ix,
double value)
Adds an attribute value to the ordered list of attribute values. |
boolean |
addInt(int value)
Adds a new value to the attribute. |
void |
addInt(int ix,
int value)
Adds an attribute value to the ordered list of attribute values. |
void |
addLong(int ix,
long value)
Adds an attribute value to the ordered list of attribute values. |
boolean |
addLong(long value)
Adds a new value to the attribute. |
Object |
clone()
Makes a copy of the attribute. |
String |
get(Locale locale)
If this attribute is multi-lingual, method get(Local)
returns the string-value for a given locale. |
boolean |
getBoolean()
Retrieves the first of this attribute's values. |
boolean |
getBoolean(int ix)
Retrieves the attribute value from the ordered list of attribute values. |
byte |
getByte()
Retrieves the first of this attribute's values. |
byte |
getByte(int ix)
Retrieves the attribute value from the ordered list of attribute values. |
double |
getDouble()
Retrieves the first of this attribute's values. |
double |
getDouble(int ix)
Retrieves the attribute value from the ordered list of attribute values. |
String |
getInheritance()
Convenience method to access the meta-attribute inheritance |
int |
getInt()
Retrieves the first of this attribute's values. |
int |
getInt(int ix)
Retrieves the attribute value from the ordered list of attribute values. |
long |
getLong()
Retrieves the first of this attribute's values. |
long |
getLong(int ix)
Retrieves the attribute value from the ordered list of attribute values. |
Enumeration |
getMetaAttributes(Attributes attrs)
Creates an enumeration of all attributes of this attribute, that are contained in a given set of attributes |
String |
getNamespace()
Gets the namespace of this attribute accoring to the syntax define above. |
Locale |
getOriginalLocale()
Gets the original locale of this attribute. |
IPcdAttributeId |
getPcdId()
Gets the PCD attribute identifier if this attribute has a PCD-extended attribute ID. |
String |
getStorage()
Convenience method to access the meta-attribute storage. |
String |
getTextType()
Gets the text type of this attribute |
PcdAttributeValueType |
getType()
Returns the type of the attribute value. |
boolean |
hasType(PcdAttributeValueType valueType)
Returns true if the given value type matches the type of the attribute value. |
boolean |
isReadOnly()
Gets the read-only flag of this attribute. |
String |
remove(Locale locale)
Removes the text of a locale. |
Object |
set(int ix,
Object value)
Sets an attribute value in the ordered list of attribute values. |
String |
set(Locale locale,
String value)
If this attribute is multilingual, method set(Local, String)
allows to set the value for a given locale. |
Object |
setBinaries(int ix,
InputStream is,
int length)
Sets an attribute value in the ordered list of attribute values. |
boolean |
setBoolean(int ix,
boolean value)
Sets an attribute value in the ordered list of attribute values. |
byte |
setByte(int ix,
byte value)
Sets an attribute value in the ordered list of attribute values. |
double |
setDouble(int ix,
double value)
Sets an attribute value in the ordered list of attribute values. |
void |
setInheritance(String value)
Convenience method to set the meta-attribute inheritance |
int |
setInt(int ix,
int value)
Sets an attribute value in the ordered list of attribute values. |
long |
setLong(int ix,
long value)
Sets an attribute value in the ordered list of attribute values. |
void |
setStorage(String value)
Convenience method to set the meta-attribute storage |
void |
setTextType(String textType)
Sets the text type of the attribute. |
| Methods inherited from interface javax.naming.directory.Attribute |
|---|
clear, contains, get, get, getAll, getAttributeDefinition, getAttributeSyntaxDefinition, getID, isOrdered, remove, remove, size |
| Field Detail |
|---|
static final String GL_NAMESPACE_PREFIX
static final int GL_NAMESPACE_PREFIX_LENGTH
static final String APPLICATION
IService.getKey(). For a WebDynpro
application this is
WDDeployableObjectPart.getDeployableObjectName().
static final String STATE_FACTORY
static final String OBJECT_FACTORY
static final String TRANSPORT_DEPENDENCIES
static final String TRANSPORTABLE
static final String JAVA_CLASS
static final String JAVA_INTERFACE
static final String IMPLEMENTED_INTERFACES
static final String INHERITS_FROM
static final String ENHANCED_PERMISSIONS
static final String DESCRIPTION
static final String OBJECT_CLASS
static final String FILTER_ASSIGNMENT
static final String FILTER_FACTORY
static final String IMPLEMENTED_ASPECTS
static final String HANDLED_ASPECTS
static final String READONLY_ASPECTS
static final String PERSISTENCY_ASPECT
AspectSupport.ASPECT_PERSISTENCY,
Constant Field Valuesstatic final String ASPECT_PERMISSION
AspectSupport.ASPECT_PERMISSION,
Constant Field Valuesstatic final String ASPECT_PERMISSION_NAME
AspectSupport.ASPECT_PERMISSION_NAME,
Constant Field Valuesstatic final String ASPECT_EXISTENCE
AspectSupport.ASPECT_EXISTENCE,
Constant Field Valuesstatic final String ACTIVITY_REPRESENTATION_ASPECT
static final String SCHEMA_ATTRIBUTE_APPLICATION_TYPE
com.sap.netweaver.bc.AbstractMimeUrlGeneratorCore.APPLICATION_TYPE_PORTAL = "portal"
com.sap.netweaver.bc.AbstractMimeUrlGeneratorCore.APPLICATION_TYPE_WEBDYNPRO = "webdynpro"
com.sap.netweaver.bc.AbstractMimeUrlGeneratorCore.APPLICATION_TYPE_WEBAPP = "web-app"
static final String SCHEMA_ATTRIBUTE_LOCAL_MIME_PATH
@Deprecated static final String COLLECTION
IUnit.COLLECTIONinstead
@Deprecated static final String DOMAIN
IUnit.DOMAINinstead
@Deprecated static final String ORIGINAL_LANGUAGE
IUnitinstead
@Deprecated static final String ORIGINAL_COUNTRY
IUnitinstead
@Deprecated static final String RESPONSIBLE
IUnit.RESPONSIBLEinstead
static final String OBJECT_CLASS_OBJECTCLASS
static final String OBJECT_CLASS_FILTERCLASS
com.sapportals.portal.pcd.glfor details.
static final String OBJECT_CLASS_CONTEXTCONVERTER
com.sapportals.portal.pcd.glfor details.
static final String OBJECT_CLASS_GL_CONTEXT
com.sapportals.portal.pcd.glfor details.
static final String OBJECT_CLASS_GL_RELATION
com.sapportals.portal.pcd.glfor details.
static final String OBJECT_CLASS_GL_LINKREF
static final String NO_SUBCONTEXT_CACHE
static final String ATOMIC_NAME
@Deprecated static final String CREATED_BY
@Deprecated static final String CREATED_AT
@Deprecated static final String LAST_CHANGED_BY
@Deprecated static final String LAST_CHANGED_AT
static final Locale EMPTY_LOCALE
com.sapportals.portal.pcd.glfor details.
static final String DELTA_LINK_STATE
IPcdAttribute.DL_STATE.
static final String DL_PLUSROOT_NAME
static final String DL_MODIFROOT_NAME
@Deprecated static final String DL_TARGETRELATION_NAME
static final String DL_MODIFIED_SORT_STRING_ATTRIBUTE
static final String IS_DELTALINK
static final String IS_BROKEN_DELTALINK
static final String IS_BROKEN_DELTALINK_DUE_TO_CYCLE
static final String DL_TARGET
static final String ATTR_INHERITANCE_FINAL
static final String ATTR_INHERITANCE_NONFINAL
@Deprecated static final String ATTR_STORAGE_GROUP
static final String ATTR_STORAGE_PERSONALIZABLE
static final String ATTR_STORAGE_NON_PERSONALIZABLE
@Deprecated static final String ATTR_STORAGE_USER
ATTR_STORAGE_PERSONALIZABLEinstead
@Deprecated static final String ATTR_STORAGE_ORIGINAL
ATTR_STORAGE_NON_PERSONALIZABLEinstead
static final char ATTR_NAMESPACE_SEPERATOR_CHAR
static final String ATTR_NAMESPACE_SEPERATOR
static final char ATTR_META_SEPERATOR_CHAR
<meta_prefix><attr_meta_seperator><attr_name>
is recommended.
static final String ATTR_META_SEPERATOR
| Method Detail |
|---|
void setTextType(String textType)
textType - String representation of the text type
IllegalStateException - this attribute is not a text or the textType is too longIPcdUtils.getMaxLengthTextType()String getTextType()
PcdAttributeValueType getType()
PcdAttributeValueType.boolean hasType(PcdAttributeValueType valueType)
valueType -
String getInheritance()
String getStorage()
ATTR_STORAGE_PERSONALIZABLE). If set to (
ATTR_STORAGE_NON_PERSONALIZABLE), the attribute cannot be
personalized.
void setInheritance(String value)
value - void setStorage(String value)
value - String get(Locale locale)
get(Local)
returns the string-value for a given locale.
If there is no text to the input locale then the following fallback rules are applied: Try to get a text to the input locale with no country specification. Try to get a text to the default locale. Try to get a text to the default locale with no country spedification. Try to get a text to the original locale. Try to get a text to the original locale with no country spedification. Try to get a text to the empty locale. If there is even no text to the empty locale, which means there is no text at all, then return null.
For example a text is needed, say, for locale [lang="de", country="CH"], the system's default locale is [lang="en", country="US"], and the original language of the hosting unit is [lang="fr", country="CA"], then the text is looked up in the following sequence:
null is returned.
locale - The locale, for wich the value is requested
String if defined, null
otherwise
IllegalStateException - If the type of this attribute is not TEXT
String set(Locale locale,
String value)
set(Local, String)
allows to set the value for a given locale. If this attribute does not
have type multilingual text, the set does not change it.
Text attributes with texts always contain a text to the empty locale. The
first setting of a text always additionally sets the text of the empty
locale with the same text. The text of the empty locale can also be set
explicitly.
locale - The locale of the given stringvalue - The value of this text attribute for the given locale
IllegalArgumentException - if the locale or text is null or if the locale is not the
original locale and the system settings don't allow that
IllegalStateException - if this is not a TEXT attributeString remove(Locale locale)
locale -
IllegalStateException - attribute is no text attribute
Object set(int ix,
Object value)
set in interface Attributeix - indexvalue - value of the attribute
IndexOutOfBoundsException - If ix is outside the specified range.
IllegalStateException - If value already exists and the attribute values are
unordered.
IllegalStateException - If the type of this attribute is not equal to the type of
the inputAttribute.set(int ix, java.lang.Object value)boolean add(Object value)
add in interface Attributevalue - value of the attribute
IllegalStateException - If the type of this attribute is not equal to the type of
the inputAttribute.add(java.lang.Object value)
void add(int ix,
Object value)
add in interface Attributeix - index of the attribute valuevalue - value of the attribute
IllegalStateException - If the type of this attribute is not equal to the type of
the inputAttribute.add(int ix, java.lang.Object value)
void addInt(int ix,
int value)
ix - index of the attribute valuevalue - value of the attribute
IllegalStateException - If the type of this attribute is not equal to the type of
the inputadd(int ix, java.lang.Object value)boolean addInt(int value)
value - value of the attribute
IllegalStateException - If the type of this attribute is not equal to the type of
the inputadd(java.lang.Object value)
void addBinaries(int ix,
InputStream is,
int length)
throws IOException
modifyAttribute() or modifyAttributes()
ix - index of the attribute valueis - input stream containing the binaries to be readlength - length of the input stream
IllegalStateException - If the type of this attribute is not
BINARY_STREAM
IOExceptionadd(int ix, java.lang.Object value)
boolean addBinaries(InputStream is,
int length)
throws IOException
modifyAttribute() or
modifyAttributes()
is - input stream containing the binaries to be readlength - length of the input stream
IOException
IllegalStateException - If the type of this attribute is not
BINARY_STREAMadd(java.lang.Object value)
void addDouble(int ix,
double value)
ix - index of the attribute valuevalue - value of the attribute
IllegalStateException - If the type of this attribute is not equal to the type of
the inputadd(int ix, java.lang.Object value)boolean addDouble(double value)
value - value of the attribute
IllegalStateException - If the type of this attribute is not equal to the type of
the inputadd(java.lang.Object value)
void addLong(int ix,
long value)
ix - index of the attribute valuevalue - value of the attribute
IllegalStateException - If the type of this attribute is not equal to the type of
the inputadd(int ix, java.lang.Object value)boolean addLong(long value)
value - value of the attribute
IllegalStateException - If the type of this attribute is not equal to the type of
the inputadd(java.lang.Object value)
void addByte(int ix,
byte value)
ix - index of the attribute valuevalue - value of the attribute
IllegalStateException - If the type of this attribute is not equal to the type of
the inputadd(int ix, java.lang.Object value)boolean addByte(byte value)
value - value of the attribute
IllegalStateException - If the type of this attribute is not equal to the type of
the inputadd(java.lang.Object value)
void addBoolean(int ix,
boolean value)
ix - index of the attribute valuevalue - value of the attribute
IllegalStateException - If the type of this attribute is not equal to the type of
the inputadd(int ix, java.lang.Object value)boolean addBoolean(boolean value)
value - value of the attribute
IllegalStateException - If the type of this attribute is not equal to the type of
the inputadd(java.lang.Object value)long getLong()
NoSuchElementException - this attribute has no value
IllegalStateException - attribute value type is not LONGAttribute.get()int getInt()
NoSuchElementException - this attribute has no value
IllegalStateException - attribute value type is not INTEGERAttribute.get()double getDouble()
NoSuchElementException - this attribute has no value
IllegalStateException - attribute value type is not DOUBLEAttribute.get()double getDouble(int ix)
ix - index
IndexOutOfBoundsException - there is no value to this index.
IllegalStateException - attribute value type is not DOUBLEAttribute.get(int ix)boolean getBoolean()
NoSuchElementException - this attribute has no value
IllegalStateException - attribute value type is not booleanAttribute.get()boolean getBoolean(int ix)
ix - index
IndexOutOfBoundsException - there is no value to this index.
IllegalStateException - attribute value type is not DOUBLEAttribute.get(int ix)byte getByte()
NoSuchElementException - this attribute has no value
IllegalStateException - attribute value type is not BYTEAttribute.get()byte getByte(int ix)
ix - index
IndexOutOfBoundsException - there is no value to this index.
IllegalStateException - attribute value type is not DOUBLEAttribute.get(int ix)long getLong(int ix)
ix - index
IndexOutOfBoundsException - there is no value to this index.
IllegalStateException - attribute value type is not LONGAttribute.get(int ix)int getInt(int ix)
ix - index
IndexOutOfBoundsException - there is no value to this index.
IllegalStateException - attribute value type is not INTEGERAttribute.get(int ix)
int setInt(int ix,
int value)
ix - indexvalue - value of the attribute
IndexOutOfBoundsException - If ix is outside the specified range.
IllegalStateException - If value already exists and the attribute values are
unordered.
IllegalStateException - If the type of this attribute is not equal to the type of
the inputAttribute.set(int ix, java.lang.Object value)
double setDouble(int ix,
double value)
ix - indexvalue - value of the attribute
IndexOutOfBoundsException - If ix is outside the specified range.
IllegalStateException - If value already exists and the attribute values are
unordered.
IllegalStateException - If the type of this attribute is not equal to the type of
the inputAttribute.set(int ix, java.lang.Object value)
long setLong(int ix,
long value)
ix - indexvalue - value of the attribute
IndexOutOfBoundsException - If ix is outside the specified range.
IllegalStateException - If value already exists and the attribute values are
unordered.
IllegalStateException - If the type of this attribute is not equal to the type of
the inputAttribute.set(int ix, java.lang.Object value)
byte setByte(int ix,
byte value)
ix - indexvalue - value of the attribute
IndexOutOfBoundsException - If ix is outside the specified range.
IllegalStateException - If value already exists and the attribute values are
unordered.
IllegalStateException - If the type of this attribute is not equal to the type of
the inputAttribute.set(int ix, java.lang.Object value)
boolean setBoolean(int ix,
boolean value)
ix - indexvalue - value of the attribute
IndexOutOfBoundsException - If ix is outside the specified range.
IllegalStateException - If value already exists and the attribute values are
unordered.
IllegalStateException - If the type of this attribute is not equal to the type of
the inputAttribute.set(int ix, java.lang.Object value)
Object setBinaries(int ix,
InputStream is,
int length)
throws IOException
modifyAttribute() or modifyAttributes()
ix - indexis - stream that contains the value of the attributelength - length of the stream
IndexOutOfBoundsException - If ix is outside the specified range.
IllegalStateException - If value already exists and the attribute values are
unordered.
IllegalStateException - If the type of this attribute is not
BINARY_STREAM
IOExceptionAttribute.set(int ix, java.lang.Object value)String getNamespace()
Enumeration getMetaAttributes(Attributes attrs)
attrs - Attributes in which meta-attributes are contained
boolean isReadOnly()
Locale getOriginalLocale()
Object clone()
clone in interface AttributeAttribute.clone()IPcdAttributeId getPcdId()
javax.naming.directory.Attribute.getID().
The PCD provides a memory-efficient implementation for structured attribute IDs (see IPcdAttributeId). Regular
attributes are still stored as String values as defined by the JNDI standard. To avoid string concatenations for the structured
attribute IDs, it is recommended to call this method first for retrieving the ID and evaluate it with the methods provided by
IPcdAttributeId and use the javax.naming.directory.Attribute.getID() if this method returns null.
IPcdAttributeId or null, if this attribute has a string-valued identifier| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcd/gl/api
|
-
|
EP-PIN
|
[sap.com] EP-BASIS
|
[sap.com]
|
api
|
BC-PIN-PCD
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/pcd/gl/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.30 (SP02) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||