Package org.apache.storm.flux.model
Class PropertyDef
- java.lang.Object
-
- org.apache.storm.flux.model.PropertyDef
-
public class PropertyDef extends Object
-
-
Constructor Summary
Constructors Constructor Description PropertyDef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()StringgetRef()ObjectgetValue()booleanisReference()voidsetName(String name)voidsetRef(String ref)Sets the value of this property to a reference.voidsetValue(Object value)Sets the value of this property.
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getValue
public Object getValue()
-
setValue
public void setValue(Object value)
Sets the value of this property. Throws IllegalArgumentException if a reference has already been set.- Parameters:
value- property value
-
getRef
public String getRef()
-
setRef
public void setRef(String ref)
Sets the value of this property to a reference. Throws IllegalArgumentException if a value has already been set.- Parameters:
ref- property reference
-
isReference
public boolean isReference()
-
-