public interface ServiceLocationAttributeDescriptor
Modifier and Type | Method and Description |
---|---|
java.util.Enumeration<?> |
getAllowedValues()
Return an Enumeration of allowed values for the attribute type.
|
java.util.Enumeration<?> |
getDefaultValues()
Return an Enumeration of default values for the attribute type.
|
java.lang.String |
getDescription()
Return a String containing the attribute's help text.
|
java.lang.String |
getId()
Return a String containing the attribute's id.
|
boolean |
getIsKeyword()
Returns true if the attribute is a keyword attribute.
|
boolean |
getIsLiteral()
Returns true if the "L" flag is set.
|
boolean |
getIsMultivalued()
Returns true if the "M" flag is set.
|
boolean |
getIsOptional()
Returns true if the "O"" flag is set.
|
boolean |
getRequiresExplicitMatch()
Returns true if the "X" flag is set, indicating that the attribute should
be included in an any Locator.findServices() request search filter.
|
java.lang.String |
getValueType()
Returns a String containing the fully package-qualified Java type of the
attribute.
|
java.lang.String getId()
java.lang.String getValueType()
SLP | Java |
---|---|
STRING | "java.lang.String" |
INTEGER | "java.lang.Integer" |
BOOLEAN | "java.lang.Boolean" |
OPAQUE | "[B" (byte[]) |
KEYWORD | "" (empty string) |
java.lang.String getDescription()
java.util.Enumeration<?> getAllowedValues()
java.util.Enumeration<?> getDefaultValues()
boolean getRequiresExplicitMatch()
true
if "X" is set, false
otherwiseboolean getIsMultivalued()
true
if "M" is set, false
otherwiseboolean getIsOptional()
true
if "O" is set, false
otherwiseboolean getIsLiteral()
true
if "L" is set, false
otherwiseboolean getIsKeyword()
true
if the attribute is a keyword,
false
otherwiseCopyright © 2005, 2013 IBM Corporation. All Rights Reserved.