public class FeatureAccessCodeEntry extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Optional<String> |
alternateCode |
protected String |
featureAccessCodeName |
protected String |
mainCode |
Constructor and Description |
---|
FeatureAccessCodeEntry()
Serializable Constructor
|
FeatureAccessCodeEntry(String featureAccessCodeName) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Element |
formRequest(Request<?> request,
FeatureAccessCodeEntry datatype,
String elementName)
Appends this DataType to the given Request
|
com.google.common.base.Optional<String> |
getAlternateCode() |
static FeatureAccessCodeEntry[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type FeatureAccessCodeEntry by parsing the XML node.
|
String |
getFeatureAccessCodeName() |
static FeatureAccessCodeEntry |
getFromNode(Node node)
Retrieves an elements of type FeatureAccessCodeEntry by parsing an XML node.
|
String |
getMainCode() |
int |
hashCode() |
FeatureAccessCodeEntry |
setAlternateCode(String alternateCode) |
FeatureAccessCodeEntry |
setFeatureAccessCodeName(String featureAccessCodeName) |
FeatureAccessCodeEntry |
setMainCode(String mainCode) |
@NotNull @Size(min=1) protected String featureAccessCodeName
@Size(min=1, max=5) protected String mainCode
protected com.google.common.base.Optional<String> alternateCode
public FeatureAccessCodeEntry(String featureAccessCodeName)
public FeatureAccessCodeEntry()
public String getFeatureAccessCodeName()
public FeatureAccessCodeEntry setFeatureAccessCodeName(String featureAccessCodeName)
public String getMainCode()
public FeatureAccessCodeEntry setMainCode(String mainCode)
public com.google.common.base.Optional<String> getAlternateCode()
public FeatureAccessCodeEntry setAlternateCode(String alternateCode)
@GwtIncompatible public static Element formRequest(Request<?> request, FeatureAccessCodeEntry datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static FeatureAccessCodeEntry getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static FeatureAccessCodeEntry[] getArrayFromNode(Node node, String elementName)
node
- The source node to retrieve the array.elementName
- The element name to iterate through.Copyright © 2016 ECG. All rights reserved.