public class Attribute extends GrouperAPI
Attribute
DTO interface.Modifier and Type | Field and Description |
---|---|
static String |
COLUMN_OLD_FIELD_ID
column field_id col in db
|
static String |
COLUMN_OLD_FIELD_NAME
column field_name col in db
|
static String |
COLUMN_OLDER_FIELD_NAME
column old_field_name col in db
|
static String |
FIELD_CONTEXT_ID
constant for field name for: contextId
|
static String |
FIELD_GROUP
constant for field name for: group
|
static String |
FIELD_GROUP_UUID
constant for field name for: groupUUID
|
static String |
FIELD_ID
constant for field name for: id
|
static String |
FIELD_VALUE
constant for field name for: value
|
static String |
PROPERTY_GROUP_UUID
constant for field name for: groupUUID
|
static String |
TABLE_OLD_GROUPER_ATTRIBUTES |
COLUMN_HIBERNATE_VERSION_NUMBER, dbVersion, FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER
Constructor and Description |
---|
Attribute() |
Modifier and Type | Method and Description |
---|---|
void |
assignGroupUuid(String groupUUID1,
Group group1) |
Attribute |
clone()
deep clone the fields in this object
|
void |
delete() |
boolean |
equals(Object other) |
String |
getAttrName() |
String |
getContextId()
context id of the transaction
|
String |
getGroupUuid() |
String |
getId() |
String |
getValue() |
int |
hashCode() |
static Attribute |
internal_getAttribute(AttributeAssignValue value,
Group group,
boolean exceptionIfNotLegacyAttribute) |
AttributeAssignValue |
internal_getAttributeAssignValue() |
GroupType |
internal_getGroupType() |
void |
internal_setAttributeAssignValue(AttributeAssignValue attributeAssignValue1)
used for caching
|
Group |
retrieveGroup(boolean retrieveIfNull)
try to get the current group if it is available (if this object
is cloned, then it might be null)
|
void |
setContextId(String contextId1)
context id of the transaction
|
void |
setGroupUuid(String groupUUID1) |
void |
setId(String id) |
void |
setValue(String value) |
String |
toString() |
dbVersion, dbVersionClear, dbVersionDifferentFields, dbVersionIsDifferent, dbVersionReset, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onPostSave, onPostUpdate, onPreDelete, onPreSave, onPreUpdate, onSave, onUpdate, setHibernateVersionNumber
public static final String FIELD_CONTEXT_ID
public static final String FIELD_GROUP
public static final String FIELD_GROUP_UUID
public static final String FIELD_ID
public static final String FIELD_VALUE
public static final String PROPERTY_GROUP_UUID
public static final String TABLE_OLD_GROUPER_ATTRIBUTES
public static final String COLUMN_OLD_FIELD_ID
public static final String COLUMN_OLD_FIELD_NAME
public static final String COLUMN_OLDER_FIELD_NAME
public Group retrieveGroup(boolean retrieveIfNull)
retrieveIfNull
- true to get from DB if nullpublic void assignGroupUuid(String groupUUID1, Group group1)
groupUUID1
- group1
- public boolean equals(Object other)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object.toString()
public String getAttrName()
public GroupType internal_getGroupType()
public String getGroupUuid()
public String getId()
public String getValue()
public void setGroupUuid(String groupUUID1)
groupUUID1
- public void setId(String id)
id
- public void setValue(String value)
value
- public Attribute clone()
GrouperAPI
clone
in interface GrouperCloneable
clone
in class GrouperAPI
GrouperAPI.clone()
public String getContextId()
public void setContextId(String contextId1)
contextId1
- public void delete()
public void internal_setAttributeAssignValue(AttributeAssignValue attributeAssignValue1)
attributeAssignValue1
- public AttributeAssignValue internal_getAttributeAssignValue()
public static Attribute internal_getAttribute(AttributeAssignValue value, Group group, boolean exceptionIfNotLegacyAttribute)
value
- group
- this is optional if the group is knownexceptionIfNotLegacyAttribute
- Copyright © 2016 Internet2. All rights reserved.