org.apache.felix.deployment.rp.autoconf
Class AttributeDefinitionImpl

java.lang.Object
  extended by org.apache.felix.deployment.rp.autoconf.AttributeDefinitionImpl
All Implemented Interfaces:
AttributeDefinition

public class AttributeDefinitionImpl
extends Object
implements AttributeDefinition


Field Summary
 
Fields inherited from interface org.osgi.service.metatype.AttributeDefinition
BIGDECIMAL, BIGINTEGER, BOOLEAN, BYTE, CHARACTER, DOUBLE, FLOAT, INTEGER, LONG, SHORT, STRING
 
Constructor Summary
AttributeDefinitionImpl(AD ad)
           
 
Method Summary
 int getCardinality()
           
 String[] getDefaultValue()
           
 String getDescription()
           
 String getID()
           
 String getName()
           
 String[] getOptionLabels()
           
 String[] getOptionValues()
           
 int getType()
           
 String validate(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeDefinitionImpl

public AttributeDefinitionImpl(AD ad)
Method Detail

getCardinality

public int getCardinality()
Specified by:
getCardinality in interface AttributeDefinition

getDefaultValue

public String[] getDefaultValue()
Specified by:
getDefaultValue in interface AttributeDefinition

getDescription

public String getDescription()
Specified by:
getDescription in interface AttributeDefinition

getID

public String getID()
Specified by:
getID in interface AttributeDefinition

getName

public String getName()
Specified by:
getName in interface AttributeDefinition

getOptionLabels

public String[] getOptionLabels()
Specified by:
getOptionLabels in interface AttributeDefinition

getOptionValues

public String[] getOptionValues()
Specified by:
getOptionValues in interface AttributeDefinition

getType

public int getType()
Specified by:
getType in interface AttributeDefinition

validate

public String validate(String value)
Specified by:
validate in interface AttributeDefinition


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.