|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.api.Property
public class Property
Allows configuring a configuration property.
Constructor Summary | |
---|---|
Property()
|
Method Summary | |
---|---|
Element |
getElement()
Gets the property element. |
PropertyDescription |
getPropertyDescription(ComponentInstance instance)
Gets the property description for the current property. |
Property |
setField(String name)
Sets the property field. |
Property |
setImmutable(boolean immutable)
Sets if the property is immutable. |
Property |
setMandatory(boolean mandatory)
Sets if the property is mandatory. |
Property |
setMethod(String name)
Sets the property method. |
Property |
setName(String name)
Sets the property name. |
Property |
setValue(String name)
Sets the property value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Property()
Method Detail |
---|
public Property setName(String name)
name
- the property name
public Property setField(String name)
name
- the property field
public Property setMethod(String name)
name
- the property method
public Property setValue(String name)
name
- the property value
public Property setMandatory(boolean mandatory)
mandatory
- true
if the dependency is mandatory.
public Property setImmutable(boolean immutable)
immutable
- true
if the dependency is immutable.
public Element getElement()
public PropertyDescription getPropertyDescription(ComponentInstance instance)
instance
- the component instance on which looking for the property.
null
if not found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |