org.xmlhammer.model.preferences
Class Preferences.Socket

java.lang.Object
  extended by org.xmlhammer.model.preferences.Preferences.Socket
Enclosing class:
Preferences

public static class Preferences.Socket
extends java.lang.Object

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">
       <attribute name="port" type="{http://www.w3.org/2001/XMLSchema}int" default="10097" />
       <attribute name="server" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.Integer port
           
protected  java.lang.Boolean server
           
 
Constructor Summary
Preferences.Socket()
           
 
Method Summary
 int getPort()
          Gets the value of the port property.
 boolean isServer()
          Gets the value of the server property.
 void setPort(java.lang.Integer value)
          Sets the value of the port property.
 void setServer(java.lang.Boolean value)
          Sets the value of the server property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

port

protected java.lang.Integer port

server

protected java.lang.Boolean server
Constructor Detail

Preferences.Socket

public Preferences.Socket()
Method Detail

getPort

public int getPort()
Gets the value of the port property.

Returns:
possible object is Integer

setPort

public void setPort(java.lang.Integer value)
Sets the value of the port property.

Parameters:
value - allowed object is Integer

isServer

public boolean isServer()
Gets the value of the server property.

Returns:
possible object is Boolean

setServer

public void setServer(java.lang.Boolean value)
Sets the value of the server property.

Parameters:
value - allowed object is Boolean


Copyright 2005-2005-2008 Edwin Dankert. All Rights Reserved.