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

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

public class WsAttributeEdit
extends Object

attribute name, value, and if delete

Author:
mchyzer

Constructor Summary
WsAttributeEdit()
          empty constructor
WsAttributeEdit(String name1, String value1, String delete1)
          constructor with fields
 
Method Summary
 boolean deleteBoolean()
          convert the delete to a boolean and return
 String getDelete()
          if we should delete this attribute
 String getName()
          name of attribute
 String getValue()
          value of attribute
 void setDelete(String delete1)
           
 void setName(String name1)
          name of attribute
 void setValue(String value1)
           
 String toString()
          provide a helpful toString method based on fields
 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(String name1,
                       String value1,
                       String delete1)
constructor with fields

Parameters:
name1 -
value1 -
delete1 -

WsAttributeEdit

public WsAttributeEdit()
empty constructor

Method Detail

toString

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

Overrides:
toString in class Object

validate

public 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 String getName()
name of attribute

Returns:
the name

setName

public void setName(String name1)
name of attribute

Parameters:
name1 - the name to set

getValue

public String getValue()
value of attribute

Returns:
the value

setValue

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

getDelete

public String getDelete()
if we should delete this attribute

Returns:
the delete

setDelete

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