com.ebmwebsourcing.wsstar.dm.org.oasis_open.docs.wsdm.mows_2
Class TcpIpInfo

java.lang.Object
  extended by com.ebmwebsourcing.wsstar.dm.org.oasis_open.docs.wsdm.mows_2.TcpIpInfo
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class TcpIpInfo
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice>
           <element ref="{http://docs.oasis-open.org/wsdm/mows-2.xsd}IPV4Address"/>
           <element ref="{http://docs.oasis-open.org/wsdm/mows-2.xsd}IPV6Address"/>
         </choice>
         <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="Direction" use="required" type="{http://docs.oasis-open.org/wsdm/mows-2.xsd}TcpIpDirectionType" />
       <attribute name="Port" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
       <attribute name="Protocol" use="required" type="{http://docs.oasis-open.org/wsdm/mows-2.xsd}TcpIpProtocolType" />
       <anyAttribute processContents='lax'/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  TcpIpDirectionType direction
           
protected  byte[] ipv4Address
           
protected  byte[] ipv6Address
           
protected  java.math.BigInteger port
           
protected  TcpIpProtocolType protocol
           
 
Constructor Summary
TcpIpInfo()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 TcpIpDirectionType getDirection()
          Gets the value of the direction property.
 byte[] getIPV4Address()
          Gets the value of the ipv4Address property.
 byte[] getIPV6Address()
          Gets the value of the ipv6Address property.
 java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 java.math.BigInteger getPort()
          Gets the value of the port property.
 TcpIpProtocolType getProtocol()
          Gets the value of the protocol property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setDirection(TcpIpDirectionType value)
          Sets the value of the direction property.
 void setIPV4Address(byte[] value)
          Sets the value of the ipv4Address property.
 void setIPV6Address(byte[] value)
          Sets the value of the ipv6Address property.
 void setPort(java.math.BigInteger value)
          Sets the value of the port property.
 void setProtocol(TcpIpProtocolType value)
          Sets the value of the protocol property.
 java.lang.String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ipv4Address

protected byte[] ipv4Address

ipv6Address

protected byte[] ipv6Address

any

protected java.util.List<java.lang.Object> any

direction

protected TcpIpDirectionType direction

port

protected java.math.BigInteger port

protocol

protected TcpIpProtocolType protocol
Constructor Detail

TcpIpInfo

public TcpIpInfo()
Method Detail

getIPV4Address

public byte[] getIPV4Address()
Gets the value of the ipv4Address property.

Returns:
possible object is String

setIPV4Address

public void setIPV4Address(byte[] value)
Sets the value of the ipv4Address property.

Parameters:
value - allowed object is String

getIPV6Address

public byte[] getIPV6Address()
Gets the value of the ipv6Address property.

Returns:
possible object is String

setIPV6Address

public void setIPV6Address(byte[] value)
Sets the value of the ipv6Address property.

Parameters:
value - allowed object is String

getAny

public java.util.List<java.lang.Object> getAny()
Gets the value of the any property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the any property.

For example, to add a new item, do as follows:

    getAny().add(newItem);
 

Objects of the following type(s) are allowed in the list Object Element


getDirection

public TcpIpDirectionType getDirection()
Gets the value of the direction property.

Returns:
possible object is TcpIpDirectionType

setDirection

public void setDirection(TcpIpDirectionType value)
Sets the value of the direction property.

Parameters:
value - allowed object is TcpIpDirectionType

getPort

public java.math.BigInteger getPort()
Gets the value of the port property.

Returns:
possible object is BigInteger

setPort

public void setPort(java.math.BigInteger value)
Sets the value of the port property.

Parameters:
value - allowed object is BigInteger

getProtocol

public TcpIpProtocolType getProtocol()
Gets the value of the protocol property.

Returns:
possible object is TcpIpProtocolType

setProtocol

public void setProtocol(TcpIpProtocolType value)
Sets the value of the protocol property.

Parameters:
value - allowed object is TcpIpProtocolType

getOtherAttributes

public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null

toString

public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public void equals(java.lang.Object object,
                   org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2009-2010 eBM Websourcing. All Rights Reserved.