edu.internet2.middleware.grouper.ws.coresoap
Class WsAttributeEdit

java.lang.Object
  extended by edu.internet2.middleware.grouper.ws.coresoap.WsAttributeEdit

public class WsAttributeEdit
extends java.lang.Object

attribute name, value, and if delete

Author:
mchyzer

Constructor Summary
WsAttributeEdit()
          empty constructor
WsAttributeEdit(java.lang.String name1, java.lang.String value1, java.lang.String delete1)
          constructor with fields
 
Method Summary
 boolean deleteBoolean()
          convert the delete to a boolean and return
 java.lang.String getDelete()
          if we should delete this attribute
 java.lang.String getName()
          name of attribute
 java.lang.String getValue()
          value of attribute
 void setDelete(java.lang.String delete1)
           
 void setName(java.lang.String name1)
          name of attribute
 void setValue(java.lang.String value1)
           
 java.lang.String toString()
          provide a helpful toString method based on fields
 java.lang.String validate()
          validate this attribute edit, return the error message
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsAttributeEdit

public WsAttributeEdit(java.lang.String name1,
                       java.lang.String value1,
                       java.lang.String delete1)
constructor with fields

Parameters:
name1 -
value1 -
delete1 -

WsAttributeEdit

public WsAttributeEdit()
empty constructor

Method Detail

toString

public java.lang.String toString()
provide a helpful toString method based on fields

Overrides:
toString in class java.lang.Object

validate

public java.lang.String validate()
validate this attribute edit, return the error message

Returns:
the error message or null if none

deleteBoolean

public boolean deleteBoolean()
convert the delete to a boolean and return

Returns:
the boolean

getName

public java.lang.String getName()
name of attribute

Returns:
the name

setName

public void setName(java.lang.String name1)
name of attribute

Parameters:
name1 - the name to set

getValue

public java.lang.String getValue()
value of attribute

Returns:
the value

setValue

public void setValue(java.lang.String value1)
Parameters:
value1 - the value to set

getDelete

public java.lang.String getDelete()
if we should delete this attribute

Returns:
the delete

setDelete

public void setDelete(java.lang.String delete1)
Parameters:
delete1 - the delete to set