org.apache.felix.scrplugin.description
Class PropertyDescription

java.lang.Object
  extended by org.apache.felix.scrplugin.description.AbstractDescription
      extended by org.apache.felix.scrplugin.description.PropertyDescription

public class PropertyDescription
extends AbstractDescription

A PropertyDescription describes a property of a component. In general all fields should be set by an annocation scanner, no default values should be assumed for these fields:

These values have the following default values:


Field Summary
 
Fields inherited from class org.apache.felix.scrplugin.description.AbstractDescription
annotation
 
Constructor Summary
PropertyDescription(ScannedAnnotation annotation)
           
 
Method Summary
 AbstractDescription clone()
           
 int getCardinality()
           
 java.lang.String getDescription()
           
 java.lang.String getLabel()
           
 java.lang.String[] getMultiValue()
           
 java.lang.String getName()
           
 java.lang.String[] getOptions()
           
 PropertyType getType()
           
 PropertyUnbounded getUnbounded()
           
 java.lang.String getValue()
           
 java.lang.Boolean isPrivate()
           
 void setCardinality(int cardinality)
           
 void setDescription(java.lang.String description)
           
 void setLabel(java.lang.String label)
           
 void setMultiValue(java.lang.String[] values)
           
 void setName(java.lang.String name)
           
 void setOptions(java.lang.String[] values)
           
 void setPrivate(java.lang.Boolean isPrivate)
           
 void setType(PropertyType type)
           
 void setUnbounded(PropertyUnbounded unbounded)
           
 void setValue(java.lang.String value)
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.felix.scrplugin.description.AbstractDescription
getAnnotation, getIdentifier, getSource, setSource
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyDescription

public PropertyDescription(ScannedAnnotation annotation)
Method Detail

getUnbounded

public PropertyUnbounded getUnbounded()

setUnbounded

public void setUnbounded(PropertyUnbounded unbounded)

getOptions

public java.lang.String[] getOptions()

setOptions

public void setOptions(java.lang.String[] values)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)

getType

public PropertyType getType()

setType

public void setType(PropertyType type)

getMultiValue

public java.lang.String[] getMultiValue()

setMultiValue

public void setMultiValue(java.lang.String[] values)

isPrivate

public java.lang.Boolean isPrivate()

setPrivate

public void setPrivate(java.lang.Boolean isPrivate)

getLabel

public java.lang.String getLabel()

setLabel

public void setLabel(java.lang.String label)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getCardinality

public int getCardinality()

setCardinality

public void setCardinality(int cardinality)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

clone

public AbstractDescription clone()
Specified by:
clone in class AbstractDescription


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.