org.apache.felix.scrplugin.description
Class PropertyDescription
java.lang.Object
org.apache.felix.scrplugin.description.AbstractDescription
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:
- name
- value
- multiValue
- type
- unbounded
- cardinality
These values have the following default values:
- label : null - will be handled by the scr generator
- description : null - will be handled by the scr generator
- isPrivate : null - will be be handled by the scr generator
- options : null
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PropertyDescription
public PropertyDescription(ScannedAnnotation annotation)
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.