Package co.ecg.alpaca.toolkit.generated
Class BWSystem.SystemOfficeZoneAddRequest
- java.lang.Object
-
- co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
-
- co.ecg.alpaca.toolkit.generated.BWSystem.SystemOfficeZoneAddRequest
-
- Enclosing class:
- BWSystem
public static class BWSystem.SystemOfficeZoneAddRequest extends Request<DefaultResponse>
Add a new Office Zone. The zoneList is an ordered list with the first member being of the highest priority. The response is either a SuccessResponse or an ErrorResponse.- Author:
- AlpacaGenerator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class co.ecg.alpaca.toolkit.messaging.request.Request
Request.Protocol
-
-
Field Summary
Fields Modifier and Type Field Description protected @Size(min=1,max=80) Stringdescriptionprotected @NotNull @Size(min=1,max=40) StringofficeZoneNameprotected @NotNull @Size(min=1,max=80) StringprimaryZoneNameprotected @NotNull @Size(min=1) String[]zoneName
-
Constructor Summary
Constructors Constructor Description SystemOfficeZoneAddRequest()SystemOfficeZoneAddRequest(BroadWorksServer broadWorksServer, String officeZoneName, String primaryZoneName, String... zoneName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidformRequest()Forms the XML Document for this Request Object.StringgetDescription()static BWSystem.SystemOfficeZoneAddRequestgetEmptyObject(BroadWorksServer broadWorksServer)Retrieves this object with minimal setup.StringgetOfficeZoneName()StringgetPrimaryZoneName()String[]getZoneName()BWSystem.SystemOfficeZoneAddRequestsetDescription(String description)BWSystem.SystemOfficeZoneAddRequestsetOfficeZoneName(String officeZoneName)BWSystem.SystemOfficeZoneAddRequestsetPrimaryZoneName(String primaryZoneName)BWSystem.SystemOfficeZoneAddRequestsetZoneName(String... zoneName)-
Methods inherited from class co.ecg.alpaca.toolkit.messaging.request.Request
appendChild, appendChild, appendChild, asyncFire, createElement, createNilElement, createNilElement, createTextElement, equals, fire, fire, getBroadWorksServer, getCacheString, getCommandElement, getCommandType, getDomDocument, getId, getOCSProtocol, getRequestTimeoutMillis, getResponseClass, getRetries, getRetryCodes, getRootElement, getValidationErrorsAsString, hashCode, isMemberOfBundle, isValid, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setEcho, setMemberOfBundle, setRequestId, setRequestTimeoutMillis, setResponseClass, setRetries, setRetryCodes, setRootElement, toString, validate
-
-
-
-
Field Detail
-
officeZoneName
@NotNull @Size(min=1, max=40) protected @NotNull @Size(min=1,max=40) String officeZoneName
-
description
@Size(min=1, max=80) protected @Size(min=1,max=80) String description
-
zoneName
@NotNull @Size(min=1) @StringArrayElementSize(min=1, max=80) protected @NotNull @Size(min=1) String[] zoneName
-
primaryZoneName
@NotNull @Size(min=1, max=80) protected @NotNull @Size(min=1,max=80) String primaryZoneName
-
-
Constructor Detail
-
SystemOfficeZoneAddRequest
public SystemOfficeZoneAddRequest()
-
SystemOfficeZoneAddRequest
public SystemOfficeZoneAddRequest(BroadWorksServer broadWorksServer, String officeZoneName, String primaryZoneName, String... zoneName)
-
-
Method Detail
-
setOfficeZoneName
public BWSystem.SystemOfficeZoneAddRequest setOfficeZoneName(String officeZoneName)
-
getOfficeZoneName
public String getOfficeZoneName()
-
setDescription
public BWSystem.SystemOfficeZoneAddRequest setDescription(String description)
-
getDescription
public String getDescription()
-
setZoneName
public BWSystem.SystemOfficeZoneAddRequest setZoneName(String... zoneName)
-
getZoneName
public String[] getZoneName()
-
setPrimaryZoneName
public BWSystem.SystemOfficeZoneAddRequest setPrimaryZoneName(String primaryZoneName)
-
getPrimaryZoneName
public String getPrimaryZoneName()
-
getEmptyObject
public static BWSystem.SystemOfficeZoneAddRequest getEmptyObject(BroadWorksServer broadWorksServer)
Retrieves this object with minimal setup.- Parameters:
broadWorksServer- The BroadWorksServer
-
formRequest
public void formRequest()
Forms the XML Document for this Request Object. Called by the Request upon fire().- Overrides:
formRequestin classRequest<DefaultResponse>
-
-