public class PropertyDef extends Object
Constructor and Description |
---|
PropertyDef() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getRef() |
Object |
getValue() |
boolean |
isReference() |
void |
setName(String name) |
void |
setRef(String ref)
Sets the value of this property to a reference.
|
void |
setValue(Object value)
Sets the value of this property.
|
public String getName()
public void setName(String name)
public Object getValue()
public void setValue(Object value)
Sets the value of this property. Throws IllegalArgumentException if a reference has already been set.
value
- property valuepublic String getRef()
public void setRef(String ref)
Sets the value of this property to a reference. Throws IllegalArgumentException if a value has already been set.
ref
- property referencepublic boolean isReference()
Copyright © 2022 The Apache Software Foundation. All rights reserved.