public class ServicePackAuthorization extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected UnboundedPositiveInt |
authorizedQuantity |
protected String |
servicePackName |
protected Boolean |
unauthorized |
Constructor and Description |
---|
ServicePackAuthorization()
Serializable Constructor
|
ServicePackAuthorization(String servicePackName) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Element |
formRequest(Request<?> request,
ServicePackAuthorization datatype,
String elementName)
Appends this DataType to the given Request
|
static ServicePackAuthorization[] |
getArrayFromNode(Node node,
String elementName)
Retrieves an array of elements of type ServicePackAuthorization by parsing the XML node.
|
UnboundedPositiveInt |
getAuthorizedQuantity() |
static ServicePackAuthorization |
getFromNode(Node node)
Retrieves an elements of type ServicePackAuthorization by parsing an XML node.
|
String |
getServicePackName() |
Boolean |
getUnauthorized() |
int |
hashCode() |
ServicePackAuthorization |
setAuthorizedQuantity(UnboundedPositiveInt authorizedQuantity) |
ServicePackAuthorization |
setFlagUnauthorized() |
ServicePackAuthorization |
setServicePackName(String servicePackName) |
boolean |
unauthorizedFlagExist() |
@NotNull @Size(min=1, max=80) protected String servicePackName
protected UnboundedPositiveInt authorizedQuantity
@AssertTrue protected Boolean unauthorized
public ServicePackAuthorization(String servicePackName)
public ServicePackAuthorization()
public String getServicePackName()
public ServicePackAuthorization setServicePackName(String servicePackName)
public UnboundedPositiveInt getAuthorizedQuantity()
public ServicePackAuthorization setAuthorizedQuantity(UnboundedPositiveInt authorizedQuantity)
public boolean unauthorizedFlagExist()
public Boolean getUnauthorized()
public ServicePackAuthorization setFlagUnauthorized()
@GwtIncompatible public static Element formRequest(Request<?> request, ServicePackAuthorization datatype, String elementName)
request
- The request to append the DataType to.datatype
- The datatype to parse.@GwtIncompatible public static ServicePackAuthorization getFromNode(Node node)
node
- The source node to parse.@GwtIncompatible public static ServicePackAuthorization[] 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.