Package co.ecg.alpaca.toolkit.generated
Class BWSystem.SystemZoneAddRequest
- java.lang.Object
-
- co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
-
- co.ecg.alpaca.toolkit.generated.BWSystem.SystemZoneAddRequest
-
- Enclosing class:
- BWSystem
public static class BWSystem.SystemZoneAddRequest extends Request<DefaultResponse>
Add a Zone and optional Net Addresses and Physical Locations. 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=1024) String
callingZonePhysicalLocation
protected String[]
locationBasedPhysicalLocation
protected String[]
netAddress
protected @Valid IPAddressRange[]
netAddressRange
protected @NotNull @Size(min=1,max=80) String
zoneName
-
Constructor Summary
Constructors Constructor Description SystemZoneAddRequest()
SystemZoneAddRequest(BroadWorksServer broadWorksServer, String zoneName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
formRequest()
Forms the XML Document for this Request Object.String
getCallingZonePhysicalLocation()
static BWSystem.SystemZoneAddRequest
getEmptyObject(BroadWorksServer broadWorksServer)
Retrieves this object with minimal setup.String[]
getLocationBasedPhysicalLocation()
String[]
getNetAddress()
IPAddressRange[]
getNetAddressRange()
String
getZoneName()
BWSystem.SystemZoneAddRequest
setCallingZonePhysicalLocation(String callingZonePhysicalLocation)
BWSystem.SystemZoneAddRequest
setLocationBasedPhysicalLocation(String... locationBasedPhysicalLocation)
BWSystem.SystemZoneAddRequest
setNetAddress(String... netAddress)
BWSystem.SystemZoneAddRequest
setNetAddressRange(IPAddressRange... netAddressRange)
BWSystem.SystemZoneAddRequest
setZoneName(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
-
zoneName
@NotNull @Size(min=1, max=80) protected @NotNull @Size(min=1,max=80) String zoneName
-
netAddress
@StringArrayElementSize(min=1, max=39) protected String[] netAddress
-
netAddressRange
@Valid protected @Valid IPAddressRange[] netAddressRange
-
locationBasedPhysicalLocation
@StringArrayElementSize(min=1, max=1024) protected String[] locationBasedPhysicalLocation
-
callingZonePhysicalLocation
@Size(min=1, max=1024) protected @Size(min=1,max=1024) String callingZonePhysicalLocation
-
-
Constructor Detail
-
SystemZoneAddRequest
public SystemZoneAddRequest()
-
SystemZoneAddRequest
public SystemZoneAddRequest(BroadWorksServer broadWorksServer, String zoneName)
-
-
Method Detail
-
setZoneName
public BWSystem.SystemZoneAddRequest setZoneName(String zoneName)
-
getZoneName
public String getZoneName()
-
setNetAddress
public BWSystem.SystemZoneAddRequest setNetAddress(String... netAddress)
-
getNetAddress
public String[] getNetAddress()
-
setNetAddressRange
public BWSystem.SystemZoneAddRequest setNetAddressRange(IPAddressRange... netAddressRange)
-
getNetAddressRange
public IPAddressRange[] getNetAddressRange()
-
setLocationBasedPhysicalLocation
public BWSystem.SystemZoneAddRequest setLocationBasedPhysicalLocation(String... locationBasedPhysicalLocation)
-
getLocationBasedPhysicalLocation
public String[] getLocationBasedPhysicalLocation()
-
setCallingZonePhysicalLocation
public BWSystem.SystemZoneAddRequest setCallingZonePhysicalLocation(String callingZonePhysicalLocation)
-
getCallingZonePhysicalLocation
public String getCallingZonePhysicalLocation()
-
getEmptyObject
public static BWSystem.SystemZoneAddRequest 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:
formRequest
in classRequest<DefaultResponse>
-
-