public class Feature extends Object
Java class for Feature complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Feature"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>anyURI"> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> <attribute name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </extension> </simpleContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Boolean |
enabled |
protected String |
type |
protected String |
value |
Modifier | Constructor and Description |
---|---|
protected |
Feature()
Default no-arg constructor
|
|
Feature(String value,
String type,
Boolean enabled)
Fully-initialising value constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getType()
Gets the value of the type property.
|
String |
getValue()
Gets the value of the value property.
|
boolean |
isEnabled()
Gets the value of the enabled property.
|
protected void |
setEnabled(Boolean value)
Sets the value of the enabled property.
|
protected void |
setType(String value)
Sets the value of the type property.
|
protected void |
setValue(String value)
Sets the value of the value property.
|
protected String value
protected String type
protected Boolean enabled
public String getValue()
String
protected void setValue(String value)
value
- allowed object is
String
public String getType()
String
protected void setType(String value)
value
- allowed object is
String
public boolean isEnabled()
Boolean
Copyright © 2012–2017. All rights reserved.