Constructor and Description |
---|
CustomProperty(String name)
Initializes a new instance of the
CustomProperty class. |
CustomProperty(String name,
String value)
Initializes a new instance of the
CustomProperty class. |
Modifier and Type | Method and Description |
---|---|
CustomProperty |
copy()
Makes a copy of this instance.
|
String |
getDescription()
An optional description for the custom property.
|
String |
getName()
Gets the name, which must be unique per
CustomPropertyCollection . |
CustomPropertyCollection |
getParent()
Gets the parent collection, if set, otherwise null.
|
String |
getValue()
The custom property value.
|
void |
setDescription(String value)
An optional description for the custom property.
|
void |
setValue(String value)
The custom property value.
|
public CustomProperty(String name)
CustomProperty
class.name
- The name of the custom property, which must be unique per CustomPropertyCollection
.public CustomProperty(String name, String value)
CustomProperty
class.name
- The name of the custom property, which must be unique per CustomPropertyCollection
.value
- The custom value.public CustomProperty copy()
public String getName()
CustomPropertyCollection
.public String getValue()
public void setValue(String value)
public String getDescription()
public void setDescription(String value)
public CustomPropertyCollection getParent()
Copyright © 2021. All rights reserved.