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) StringcallingZonePhysicalLocationprotected String[]locationBasedPhysicalLocationprotected String[]netAddressprotected @Valid IPAddressRange[]netAddressRangeprotected @NotNull @Size(min=1,max=80) StringzoneName
-
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 voidformRequest()Forms the XML Document for this Request Object.StringgetCallingZonePhysicalLocation()static BWSystem.SystemZoneAddRequestgetEmptyObject(BroadWorksServer broadWorksServer)Retrieves this object with minimal setup.String[]getLocationBasedPhysicalLocation()String[]getNetAddress()IPAddressRange[]getNetAddressRange()StringgetZoneName()BWSystem.SystemZoneAddRequestsetCallingZonePhysicalLocation(String callingZonePhysicalLocation)BWSystem.SystemZoneAddRequestsetLocationBasedPhysicalLocation(String... locationBasedPhysicalLocation)BWSystem.SystemZoneAddRequestsetNetAddress(String... netAddress)BWSystem.SystemZoneAddRequestsetNetAddressRange(IPAddressRange... netAddressRange)BWSystem.SystemZoneAddRequestsetZoneName(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:
formRequestin classRequest<DefaultResponse>
-
-