Class GroupTypeTuple

java.lang.Object
edu.internet2.middleware.grouper.GrouperAPI
edu.internet2.middleware.grouper.GroupTypeTuple
All Implemented Interfaces:
HibGrouperLifecycle, GrouperCloneable, GrouperUtil.FieldValuable, Serializable, org.hibernate.classic.Lifecycle

public class GroupTypeTuple extends GrouperAPI
Basic Hibernate Group and GroupType tuple DTO implementation.
Since:
Version:
$Id: GroupTypeTuple.java,v 1.12 2009-09-24 18:07:16 shilen Exp $
See Also:
  • Field Details

  • Constructor Details

    • GroupTypeTuple

      public GroupTypeTuple()
  • Method Details

    • getContextId

      public String getContextId()
      context id of the transaction
      Returns:
      context id
    • setContextId

      public void setContextId(String contextId1)
      context id of the transaction
      Parameters:
      contextId1 -
    • retrieveGroup

      public Group retrieveGroup(boolean retrieveIfNull)
      try to get the current group if it is available (if this object is cloned, then it might be null)
      Parameters:
      retrieveIfNull - true to get from DB if null
      Returns:
      the current group
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
      Parameters:
      other -
      Returns:
      if equals
      Since:
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also:
    • getGroupUuid

      public String getGroupUuid()
      Returns:
      uuid
    • getId

      public String getId()
      Returns:
      id
    • getTypeUuid

      public String getTypeUuid()
      type uuid
      Returns:
      uuid
    • setGroupUuid

      public void setGroupUuid(String groupUUID1)
      Parameters:
      groupUUID1 -
    • assignGroupUuid

      public void assignGroupUuid(String groupUUID1, Group group1)
      Parameters:
      groupUUID1 -
      group1 -
    • setId

      public void setId(String id1)
      Parameters:
      id1 -
    • setTypeUuid

      public GroupTypeTuple setTypeUuid(String typeUUID1)
      Parameters:
      typeUUID1 -
      Returns:
      tuple
    • clone

      public GroupTypeTuple clone()
      deep clone the fields in this object
      Specified by:
      clone in interface GrouperCloneable
      Specified by:
      clone in class GrouperAPI
      Returns:
      the clone of the object
      See Also:
    • internal_getGroupTypeTuple

      public static GroupTypeTuple internal_getGroupTypeTuple(AttributeAssign assignment, boolean exceptionIfNotLegacyGroupTypeTuple)
      Parameters:
      assignment -
      exceptionIfNotLegacyGroupTypeTuple -
      Returns:
      groupType