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

java.lang.Object
  extended by edu.internet2.middleware.grouper.ws.soap.WsAttributeDef
All Implemented Interfaces:
Comparable<WsAttributeDef>

public class WsAttributeDef
extends Object
implements Comparable<WsAttributeDef>

Result of one attribute def name being retrieved. The number of attribute def names will equal the number of attribute def names related to the result

Author:
mchyzer

Constructor Summary
WsAttributeDef()
          no arg constructor
WsAttributeDef(AttributeDef attributeDef, WsAttributeDefLookup wsAttributeDefLookup)
          construct based on attribute def name, assign all fields
 
Method Summary
 int compareTo(WsAttributeDef o2)
           
static WsAttributeDef[] convertAttributeDefs(Set<AttributeDef> attributeDefSet)
          convert a set of attribute def names to results
 String[] getAssignableTos()
          can be assigned to these types
 String getAttributeDefType()
          type of attribute def, from enum AttributeDefType, e.g.
 String getDescription()
          friendly description of this attributeDef
 String getExtension()
          extension of attributeDef, the part to the right of last colon in name
 String getMultiAssignable()
          T of F for if can be assigned multiple times to one object
 String getMultiValued()
          T or F, if has values, if can assign multiple values to one assignment
 String getName()
          Full name of the attributeDef (all extensions of parent stems, separated by colons, and the extention of this attributeDef
 String getUuid()
          universally unique identifier of this attributeDef
 String getValueType()
          what type of value on assignments: AttributeDefValueType: e.g.
 void setAssignableTos(String[] assignableTos1)
          can be assigned to these types
 void setAttributeDefType(String attributeDefType1)
          type of attribute def, from enum AttributeDefType, e.g.
 void setDescription(String description1)
          friendly description of this attributeDef
 void setExtension(String extension1)
          extension of attributeDef, the part to the right of last colon in name
 void setMultiAssignable(String multiAssignable1)
          T of F for if can be assigned multiple times to one object
 void setMultiValued(String multiValued1)
          T or F, if has values, if can assign multiple values to one assignment
 void setName(String name1)
          Full name of the attributeDef (all extensions of parent stems, separated by colons, and the extention of this attributeDef
 void setUuid(String uuid1)
          universally unique identifier of this attributeDef
 void setValueType(String valueType1)
          what type of value on assignments: AttributeDefValueType: e.g.
 String toString()
          make sure this is an explicit toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsAttributeDef

public WsAttributeDef()
no arg constructor


WsAttributeDef

public WsAttributeDef(AttributeDef attributeDef,
                      WsAttributeDefLookup wsAttributeDefLookup)
construct based on attribute def name, assign all fields

Parameters:
attributeDef -
wsAttributeDefLookup - is the lookup to set looked up values
Method Detail

toString

public String toString()
make sure this is an explicit toString

Overrides:
toString in class Object

convertAttributeDefs

public static WsAttributeDef[] convertAttributeDefs(Set<AttributeDef> attributeDefSet)
convert a set of attribute def names to results

Parameters:
attributeDefSet -
Returns:
the attributeDefs (null if none or null)

getAttributeDefType

public String getAttributeDefType()
type of attribute def, from enum AttributeDefType, e.g. attr, domain, type, limit, perm

Returns:
the type

setAttributeDefType

public void setAttributeDefType(String attributeDefType1)
type of attribute def, from enum AttributeDefType, e.g. attr, domain, type, limit, perm

Parameters:
attributeDefType1 -

getMultiAssignable

public String getMultiAssignable()
T of F for if can be assigned multiple times to one object

Returns:
if multi assignable

setMultiAssignable

public void setMultiAssignable(String multiAssignable1)
T of F for if can be assigned multiple times to one object

Parameters:
multiAssignable1 -

getMultiValued

public String getMultiValued()
T or F, if has values, if can assign multiple values to one assignment

Returns:
T or F, if has values, if can assign multiple values to one assignment

setMultiValued

public void setMultiValued(String multiValued1)
T or F, if has values, if can assign multiple values to one assignment

Parameters:
multiValued1 -

getValueType

public String getValueType()
what type of value on assignments: AttributeDefValueType: e.g. integer, timestamp, string, floating, marker, memberId

Returns:
value type

setValueType

public void setValueType(String valueType1)
what type of value on assignments: AttributeDefValueType: e.g. integer, timestamp, string, floating, marker, memberId

Parameters:
valueType1 -

getAssignableTos

public String[] getAssignableTos()
can be assigned to these types

Returns:
assignable tos

setAssignableTos

public void setAssignableTos(String[] assignableTos1)
can be assigned to these types

Parameters:
assignableTos1 -

getDescription

public String getDescription()
friendly description of this attributeDef

Returns:
the description

getName

public String getName()
Full name of the attributeDef (all extensions of parent stems, separated by colons, and the extention of this attributeDef

Returns:
the name

getUuid

public String getUuid()
universally unique identifier of this attributeDef

Returns:
the uuid

setDescription

public void setDescription(String description1)
friendly description of this attributeDef

Parameters:
description1 - the description to set

setName

public void setName(String name1)
Full name of the attributeDef (all extensions of parent stems, separated by colons, and the extention of this attributeDef

Parameters:
name1 - the name to set

setUuid

public void setUuid(String uuid1)
universally unique identifier of this attributeDef

Parameters:
uuid1 - the uuid to set

getExtension

public String getExtension()
extension of attributeDef, the part to the right of last colon in name

Returns:
the extension

setExtension

public void setExtension(String extension1)
extension of attributeDef, the part to the right of last colon in name

Parameters:
extension1 - the extension to set

compareTo

public int compareTo(WsAttributeDef o2)
Specified by:
compareTo in interface Comparable<WsAttributeDef>
See Also:
Comparable.compareTo(java.lang.Object)