public class MetatypePropertyDescriptor extends Object
MetatypePropertyDescriptor extends the
PropertyDescriptor describing a property based on a real
Metatype Service Attribute Definition.| Constructor and Description |
|---|
MetatypePropertyDescriptor(org.osgi.service.metatype.AttributeDefinition ad,
boolean optional) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCardinality() |
String[] |
getDefaultValue() |
String |
getDescription() |
String |
getID() |
String |
getName() |
String[] |
getOptionLabels() |
String[] |
getOptionValues() |
int |
getType() |
boolean |
isOptional() |
String |
validate(String value) |
public MetatypePropertyDescriptor(org.osgi.service.metatype.AttributeDefinition ad,
boolean optional)
public String getName()
public String getDescription()
public int getType()
public String[] getOptionValues()
public String[] getOptionLabels()
public String[] getDefaultValue()
public boolean isOptional()
public String getID()
public int getCardinality()
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.