is.idega.idegaweb.golf.webservice.server
Class Stroke

java.lang.Object
  extended by is.idega.idegaweb.golf.webservice.server.Stroke
All Implemented Interfaces:
java.io.Serializable

public class Stroke
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Stroke()
           
Stroke(float driveLength, boolean greenInRegulation, boolean hitFairway, java.lang.String holeNumber, int numberOfPutts, int numberOfStrokes)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 float getDriveLength()
          Gets the driveLength value for this Stroke.
 java.lang.String getHoleNumber()
          Gets the holeNumber value for this Stroke.
 int getNumberOfPutts()
          Gets the numberOfPutts value for this Stroke.
 int getNumberOfStrokes()
          Gets the numberOfStrokes value for this Stroke.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 boolean isGreenInRegulation()
          Gets the greenInRegulation value for this Stroke.
 boolean isHitFairway()
          Gets the hitFairway value for this Stroke.
 void setDriveLength(float driveLength)
          Sets the driveLength value for this Stroke.
 void setGreenInRegulation(boolean greenInRegulation)
          Sets the greenInRegulation value for this Stroke.
 void setHitFairway(boolean hitFairway)
          Sets the hitFairway value for this Stroke.
 void setHoleNumber(java.lang.String holeNumber)
          Sets the holeNumber value for this Stroke.
 void setNumberOfPutts(int numberOfPutts)
          Sets the numberOfPutts value for this Stroke.
 void setNumberOfStrokes(int numberOfStrokes)
          Sets the numberOfStrokes value for this Stroke.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Stroke

public Stroke()

Stroke

public Stroke(float driveLength,
              boolean greenInRegulation,
              boolean hitFairway,
              java.lang.String holeNumber,
              int numberOfPutts,
              int numberOfStrokes)
Method Detail

getDriveLength

public float getDriveLength()
Gets the driveLength value for this Stroke.

Returns:
driveLength

setDriveLength

public void setDriveLength(float driveLength)
Sets the driveLength value for this Stroke.

Parameters:
driveLength -

isGreenInRegulation

public boolean isGreenInRegulation()
Gets the greenInRegulation value for this Stroke.

Returns:
greenInRegulation

setGreenInRegulation

public void setGreenInRegulation(boolean greenInRegulation)
Sets the greenInRegulation value for this Stroke.

Parameters:
greenInRegulation -

isHitFairway

public boolean isHitFairway()
Gets the hitFairway value for this Stroke.

Returns:
hitFairway

setHitFairway

public void setHitFairway(boolean hitFairway)
Sets the hitFairway value for this Stroke.

Parameters:
hitFairway -

getHoleNumber

public java.lang.String getHoleNumber()
Gets the holeNumber value for this Stroke.

Returns:
holeNumber

setHoleNumber

public void setHoleNumber(java.lang.String holeNumber)
Sets the holeNumber value for this Stroke.

Parameters:
holeNumber -

getNumberOfPutts

public int getNumberOfPutts()
Gets the numberOfPutts value for this Stroke.

Returns:
numberOfPutts

setNumberOfPutts

public void setNumberOfPutts(int numberOfPutts)
Sets the numberOfPutts value for this Stroke.

Parameters:
numberOfPutts -

getNumberOfStrokes

public int getNumberOfStrokes()
Gets the numberOfStrokes value for this Stroke.

Returns:
numberOfStrokes

setNumberOfStrokes

public void setNumberOfStrokes(int numberOfStrokes)
Sets the numberOfStrokes value for this Stroke.

Parameters:
numberOfStrokes -

equals

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

hashCode

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

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer



Copyright © 2000-2014 idega software. All Rights Reserved.