| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Property |
build()
Build a
Property object using this builder. |
Property.Builder |
owner(String owner)
Set the owner for the property to be built.
|
static Property.Builder |
property(Property property)
Returns a
Property.Builder to for a property which is a copy of property. |
static Property.Builder |
property(String name)
Builder class to aid in a construction of a
Property. |
static Property.Builder |
property(String name,
String value)
Returns a
Property.Builder to create a property with given. |
XmlProperty |
toXml()
Build a
XmlProperty object using this builder. |
Property.Builder |
value(String value)
Set the value for the property to be built.
|
public static Property.Builder property(String name)
Property.name - - property namepublic static Property.Builder property(String name, String value)
Property.Builder to create a property with given.
name and valuename - - property namevalue - - property valueProperty.Builder for a property with name and valuepublic static Property.Builder property(Property property)
Property.Builder to for a property which is a copy of property.property - - the property to be copiedProperty.Builder with attributes initialized to the same as propertypublic Property.Builder owner(String owner)
owner - - owner idProperty.Builder with owner set to ownerpublic Property.Builder value(String value)
value - - property valueProperty.Builder with value set to valuepublic XmlProperty toXml()
XmlProperty object using this builder.XmlProperty xmlProperty objectCopyright © 2016. All Rights Reserved.