org.apache.felix.scrplugin.om
Class Property
java.lang.Object
org.apache.felix.scrplugin.om.AbstractObject
org.apache.felix.scrplugin.om.Property
public class Property
- extends AbstractObject
Property.java
...
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected java.lang.String name
value
protected java.lang.String value
type
protected java.lang.String type
multiValue
protected java.lang.String[] multiValue
isPrivate
protected boolean isPrivate
label
protected java.lang.String label
description
protected java.lang.String description
cardinality
protected java.lang.String cardinality
Property
public Property()
- Default constructor.
Property
public Property(JavaTag t)
- Constructor from java source.
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 java.lang.String getType()
setType
public void setType(java.lang.String type)
getMultiValue
public java.lang.String[] getMultiValue()
setMultiValue
public void setMultiValue(java.lang.String[] values)
validate
public void validate(java.util.List issues,
java.util.List warnings)
- Validate the property.
If errors occur a message is added to the issues list,
warnings can be added to the warnings list.
isPrivate
public boolean isPrivate()
setPrivate
public void setPrivate(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 java.lang.String getCardinality()
setCardinality
public void setCardinality(java.lang.String cardinality)
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.