public class WsGroup extends java.lang.Object implements java.lang.Comparable<WsGroup>
Constructor and Description |
---|
WsGroup()
no arg constructor
|
WsGroup(Group group,
WsGroupLookup wsGroupLookup,
boolean includeDetail)
construct based on group, assign all fields
|
WsGroup(PITGroup pitGroup)
construct based on pit group
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(WsGroup o2) |
static WsGroup[] |
convertGroups(java.util.Set<Group> groupSet,
boolean includeDetail)
convert a set of groups to results
|
static WsGroup[] |
convertGroups(java.util.Set<PITGroup> pitGroupSet)
convert a set of pit groups to results
|
java.lang.String |
getAlternateName() |
java.lang.String |
getDescription()
friendly description of this group
|
WsGroupDetail |
getDetail()
if requested, these are the detail results of the group
|
java.lang.String |
getDisplayExtension()
display extension, the part to the right of the last colon in display name
|
java.lang.String |
getDisplayName()
friendly extensions of group and parent stems
|
java.lang.String |
getExtension()
extension of group, the part to the right of last colon in name
|
java.lang.String |
getIdIndex()
integer ID for object
|
java.lang.String |
getName()
Full name of the group (all extensions of parent stems, separated by colons,
and the extention of this group
|
java.lang.String |
getTypeOfGroup()
type of group can be an enum of TypeOfGroup, e.g.
|
java.lang.String |
getUuid()
universally unique identifier of this group
|
void |
setAlternateName(java.lang.String alternateName1) |
void |
setDescription(java.lang.String description1)
friendly description of this group
|
void |
setDetail(WsGroupDetail detail1)
if requested, these are the detail results of the group
|
void |
setDisplayExtension(java.lang.String displayExtension1)
display extension, the part to the right of the last colon in display name
|
void |
setDisplayName(java.lang.String displayName1)
friendly extensions of group and parent stems
|
void |
setExtension(java.lang.String extension1)
extension of group, the part to the right of last colon in name
|
void |
setIdIndex(java.lang.String idIndex1)
integer ID for object
|
void |
setName(java.lang.String name1)
Full name of the group (all extensions of parent stems, separated by colons,
and the extention of this group
|
void |
setTypeOfGroup(java.lang.String typeOfGroup1)
type of group can be an enum of TypeOfGroup, e.g.
|
void |
setUuid(java.lang.String uuid1)
universally unique identifier of this group
|
java.lang.String |
toString()
make sure this is an explicit toString
|
public WsGroup()
public WsGroup(Group group, WsGroupLookup wsGroupLookup, boolean includeDetail)
group
- wsGroupLookup
- is the lookup to set looked up valuesincludeDetail
- true to include detail about grouppublic WsGroup(PITGroup pitGroup)
pitGroup
- public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getTypeOfGroup()
public void setTypeOfGroup(java.lang.String typeOfGroup1)
typeOfGroup1
- public static WsGroup[] convertGroups(java.util.Set<Group> groupSet, boolean includeDetail)
groupSet
- includeDetail
- true if detail of group should be sentpublic static WsGroup[] convertGroups(java.util.Set<PITGroup> pitGroupSet)
pitGroupSet
- public java.lang.String getIdIndex()
public void setIdIndex(java.lang.String idIndex1)
idIndex1
- public java.lang.String getDescription()
public java.lang.String getDisplayName()
public java.lang.String getName()
public java.lang.String getUuid()
public void setDescription(java.lang.String description1)
description1
- the description to setpublic void setDisplayName(java.lang.String displayName1)
displayName1
- the displayName to setpublic void setName(java.lang.String name1)
name1
- the name to setpublic void setUuid(java.lang.String uuid1)
uuid1
- the uuid to setpublic WsGroupDetail getDetail()
public void setDetail(WsGroupDetail detail1)
detail1
- the detail to setpublic java.lang.String getExtension()
public void setExtension(java.lang.String extension1)
extension1
- the extension to setpublic java.lang.String getDisplayExtension()
public void setDisplayExtension(java.lang.String displayExtension1)
displayExtension1
- the displayExtension to setpublic int compareTo(WsGroup o2)
compareTo
in interface java.lang.Comparable<WsGroup>
Comparable.compareTo(java.lang.Object)
public java.lang.String getAlternateName()
public void setAlternateName(java.lang.String alternateName1)
alternateName1
- the alternateName to set