public class Variable extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="Hidden" type="{http://schemas.microsoft.com/wix/2006/wi}YesNoTypeUnion" /> <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="Persisted" type="{http://schemas.microsoft.com/wix/2006/wi}YesNoTypeUnion" /> <attribute name="Value" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="Type"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="string"/> <enumeration value="numeric"/> <enumeration value="version"/> </restriction> </simpleType> </attribute> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
hidden |
protected String |
name |
protected String |
persisted |
protected String |
type |
protected String |
value |
Constructor and Description |
---|
Variable()
Default no-arg constructor
|
Variable(String hidden,
String name,
String persisted,
String value,
String type,
Map<QName,String> otherAttributes)
Fully-initialising value constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object that) |
String |
getHidden()
Gets the value of the hidden property.
|
String |
getName()
Gets the value of the name property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
String |
getPersisted()
Gets the value of the persisted property.
|
String |
getType()
Gets the value of the type property.
|
String |
getValue()
Gets the value of the value property.
|
int |
hashCode() |
void |
setHidden(String value)
Sets the value of the hidden property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPersisted(String value)
Sets the value of the persisted property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setValue(String value)
Sets the value of the value property.
|
String |
toString() |
Variable |
withHidden(String value) |
Variable |
withName(String value) |
Variable |
withPersisted(String value) |
Variable |
withType(String value) |
Variable |
withValue(String value) |
public Variable()
public String getHidden()
String
public void setHidden(String value)
value
- allowed object is
String
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getPersisted()
String
public void setPersisted(String value)
value
- allowed object is
String
public String getValue()
String
public void setValue(String value)
value
- allowed object is
String
public String getType()
String
public void setType(String value)
value
- allowed object is
String
public Map<QName,String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
public Variable withHidden(String value)
public Variable withPersisted(String value)
Copyright © 2019. All rights reserved.