|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.GrouperAPI
edu.internet2.middleware.grouper.attr.AttributeDefName
public class AttributeDefName
definition of an attribute name (is linked with an attribute def)
Field Summary | |
---|---|
static String |
COLUMN_ATTRIBUTE_DEF_ID
column |
static String |
COLUMN_CONTEXT_ID
column |
static String |
COLUMN_CREATED_ON
column |
static String |
COLUMN_DESCRIPTION
column |
static String |
COLUMN_DISPLAY_EXTENSION
column |
static String |
COLUMN_DISPLAY_NAME
column |
static String |
COLUMN_EXTENSION
column |
static String |
COLUMN_ID
column |
static String |
COLUMN_LAST_UPDATED
column |
static String |
COLUMN_NAME
column |
static String |
COLUMN_STEM_ID
column |
static String |
FIELD_ATTRIBUTE_DEF_ID
constant for field name for: attributeDefId |
static String |
FIELD_CONTEXT_ID
constant for field name for: contextId |
static String |
FIELD_CREATED_ON_DB
constant for field name for: createdOnDb |
static String |
FIELD_DESCRIPTION
constant for field name for: description |
static String |
FIELD_DISPLAY_EXTENSION
constant for field name for: displayExtension |
static String |
FIELD_DISPLAY_NAME
constant for field name for: displayName |
static String |
FIELD_EXTENSION
constant for field name for: extension |
static String |
FIELD_ID
constant for field name for: id |
static String |
FIELD_LAST_UPDATED_DB
constant for field name for: lastUpdatedDb |
static String |
FIELD_NAME
constant for field name for: name |
static String |
FIELD_STEM_ID
constant for field name for: stemId |
static String |
TABLE_GROUPER_ATTRIBUTE_DEF_NAME
name of the groups attribute def name table in the db |
Fields inherited from class edu.internet2.middleware.grouper.GrouperAPI |
---|
COLUMN_HIBERNATE_VERSION_NUMBER, FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER |
Fields inherited from interface org.hibernate.classic.Lifecycle |
---|
NO_VETO, VETO |
Constructor Summary | |
---|---|
AttributeDefName()
|
Method Summary | |
---|---|
String |
__getId()
if of this object |
String |
__getName()
name of this object (for logging) |
AttributeDefName |
clone()
deep clone the fields in this object |
void |
delete()
save or update this object |
boolean |
equals(Object other)
|
AttributeDef |
getAttributeDef()
get the attribute def |
String |
getAttributeDefId()
attribute definition that this is related to |
AttributeDefNameSetDelegate |
getAttributeDefNameSetDelegate()
delegate logic about attribute def name sets to this object |
String |
getContextId()
context id of the transaction |
Timestamp |
getCreatedOn()
when created |
Long |
getCreatedOnDb()
when created |
String |
getDescription()
description of attribute, friendly description, e.g. |
String |
getDisplayExtension()
displayExtension of attribute, e.g. |
String |
getDisplayExtensionDb()
displayExtension of attribute, e.g. |
String |
getDisplayName()
displayName of attribute, e.g. |
String |
getDisplayNameDb()
displayName of attribute, e.g. |
String |
getExtension()
extension of attribute expireTime |
String |
getExtensionDb()
extension of attribute expireTime |
String |
getId()
id of this attribute def name |
Timestamp |
getLastUpdated()
when last updated |
Long |
getLastUpdatedDb()
when last updated |
String |
getName()
|
String |
getNameDb()
|
String |
getStemId()
stem that this attribute is in |
int |
hashCode()
|
void |
setAttributeDefId(String attributeDefId1)
attribute def id that this is related to |
void |
setContextId(String contextId1)
context id of the transaction |
void |
setCreatedOn(Timestamp createdOn1)
when created |
void |
setCreatedOnDb(Long createdOn1)
when created |
void |
setDescription(String description1)
description of attribute, friendly description, e.g. |
void |
setDisplayExtension(String displayExtension1)
displayExtension of attribute, e.g. |
void |
setDisplayExtensionDb(String displayExtension1)
displayExtension of attribute, e.g. |
void |
setDisplayName(String displayName1)
displayName of attribute, e.g. |
void |
setDisplayNameDb(String displayName1)
displayName of attribute, e.g. |
void |
setExtension(String extension1)
extension of attribute expireTime |
void |
setExtensionDb(String extension1)
extension of attribute expireTime |
void |
setId(String id1)
id of this attribute def name |
void |
setLastUpdated(Timestamp lastUpdated1)
when last updated |
void |
setLastUpdatedDb(Long lastUpdated1)
when last updated |
void |
setName(String name1)
|
void |
setNameDb(String name1)
|
void |
setStemId(String stemId1)
stem that this attribute is in |
void |
store()
store this group (update) to database |
String |
toString()
|
void |
xmlCopyBusinessPropertiesToExisting(AttributeDefName existingRecord)
copy business (non update) properties to an existing record |
boolean |
xmlDifferentBusinessProperties(AttributeDefName other)
see if the non update cols are different (e.g. |
boolean |
xmlDifferentUpdateProperties(AttributeDefName other)
see if the update cols are different (e.g. |
String |
xmlGetId()
set id key in db |
AttributeDefName |
xmlRetrieveByIdOrKey()
retrieve from db by id or key. |
AttributeDefName |
xmlSaveBusinessProperties(AttributeDefName existingRecord)
save the business properties (not update properties) |
void |
xmlSaveUpdateProperties()
save the udpate properties (e.g. |
void |
xmlSetId(String theId)
set id key in db |
XmlExportAttributeDefName |
xmlToExportAttributeDefName(GrouperVersion grouperVersion)
convert to xml bean for export |
String |
xmlToString()
convert to string for log |
Methods inherited from class edu.internet2.middleware.grouper.GrouperAPI |
---|
dbVersion, dbVersionClear, dbVersionDifferentFields, dbVersionIsDifferent, dbVersionReset, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onPostSave, onPostUpdate, onPreDelete, onPreSave, onPreUpdate, onSave, onUpdate, setHibernateVersionNumber |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String TABLE_GROUPER_ATTRIBUTE_DEF_NAME
public static final String COLUMN_ATTRIBUTE_DEF_ID
public static final String COLUMN_CONTEXT_ID
public static final String COLUMN_CREATED_ON
public static final String COLUMN_LAST_UPDATED
public static final String COLUMN_DESCRIPTION
public static final String COLUMN_EXTENSION
public static final String COLUMN_NAME
public static final String COLUMN_DISPLAY_EXTENSION
public static final String COLUMN_DISPLAY_NAME
public static final String COLUMN_STEM_ID
public static final String COLUMN_ID
public static final String FIELD_ATTRIBUTE_DEF_ID
public static final String FIELD_CONTEXT_ID
public static final String FIELD_CREATED_ON_DB
public static final String FIELD_DESCRIPTION
public static final String FIELD_DISPLAY_EXTENSION
public static final String FIELD_DISPLAY_NAME
public static final String FIELD_EXTENSION
public static final String FIELD_ID
public static final String FIELD_LAST_UPDATED_DB
public static final String FIELD_NAME
public static final String FIELD_STEM_ID
Constructor Detail |
---|
public AttributeDefName()
Method Detail |
---|
public AttributeDefName clone()
clone
in interface GrouperCloneable
clone
in class GrouperAPI
Object.clone()
public AttributeDef getAttributeDef()
public String getStemId()
public void setStemId(String stemId1)
stemId1
- public String getContextId()
public void setContextId(String contextId1)
setContextId
in interface GrouperHasContext
contextId1
- public String getId()
public void setId(String id1)
id1
- public String getName()
public void setName(String name1)
name1
- public String getNameDb()
public void setNameDb(String name1)
name1
- public String getDescription()
public void setDescription(String description1)
description1
- public String getDisplayExtension()
public void setDisplayExtension(String displayExtension1)
displayExtension1
- public String getDisplayName()
public void setDisplayName(String displayName1)
displayName1
- public String getExtension()
public void setExtension(String extension1)
extension1
- public String getExtensionDb()
public void setExtensionDb(String extension1)
extension1
- public Timestamp getLastUpdated()
public Long getLastUpdatedDb()
public Timestamp getCreatedOn()
public Long getCreatedOnDb()
public void setLastUpdated(Timestamp lastUpdated1)
lastUpdated1
- public void setLastUpdatedDb(Long lastUpdated1)
lastUpdated1
- public void setCreatedOn(Timestamp createdOn1)
createdOn1
- public void setCreatedOnDb(Long createdOn1)
createdOn1
- public String getDisplayExtensionDb()
public void setDisplayExtensionDb(String displayExtension1)
displayExtension1
- public String getDisplayNameDb()
public void setDisplayNameDb(String displayName1)
displayName1
- public String getAttributeDefId()
public void setAttributeDefId(String attributeDefId1)
attributeDefId1
- public String __getId()
GrouperSetElement
__getId
in interface GrouperSetElement
GrouperSetElement.__getId()
public String __getName()
GrouperSetElement
__getName
in interface GrouperSetElement
GrouperSetElement.__getName()
public void delete()
public AttributeDefNameSetDelegate getAttributeDefNameSetDelegate()
public String toString()
toString
in class Object
Object.toString()
public boolean equals(Object other)
equals
in class Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
public void xmlCopyBusinessPropertiesToExisting(AttributeDefName existingRecord)
XmlImportableBase
xmlCopyBusinessPropertiesToExisting
in interface XmlImportableBase<AttributeDefName>
XmlImportableBase.xmlCopyBusinessPropertiesToExisting(java.lang.Object)
public boolean xmlDifferentBusinessProperties(AttributeDefName other)
XmlImportableBase
xmlDifferentBusinessProperties
in interface XmlImportableBase<AttributeDefName>
other
- the one to compare with
XmlImportableBase.xmlDifferentBusinessProperties(java.lang.Object)
public boolean xmlDifferentUpdateProperties(AttributeDefName other)
XmlImportableBase
xmlDifferentUpdateProperties
in interface XmlImportableBase<AttributeDefName>
other
- the one to compare with
XmlImportableBase.xmlDifferentUpdateProperties(java.lang.Object)
public AttributeDefName xmlRetrieveByIdOrKey()
XmlImportable
xmlRetrieveByIdOrKey
in interface XmlImportable<AttributeDefName>
XmlImportable.xmlRetrieveByIdOrKey()
public AttributeDefName xmlSaveBusinessProperties(AttributeDefName existingRecord)
XmlImportableBase
xmlSaveBusinessProperties
in interface XmlImportableBase<AttributeDefName>
existingRecord
- null if insert, the object if exists in DB
generally just copy the hibernate version number, and last updated to the
object and store it
XmlImportableBase.xmlSaveBusinessProperties(java.lang.Object)
public void xmlSaveUpdateProperties()
XmlImportableBase
xmlSaveUpdateProperties
in interface XmlImportableBase<AttributeDefName>
XmlImportableBase.xmlSaveUpdateProperties()
public XmlExportAttributeDefName xmlToExportAttributeDefName(GrouperVersion grouperVersion)
grouperVersion
-
public String xmlGetId()
XmlImportableBase
xmlGetId
in interface XmlImportableBase<AttributeDefName>
XmlImportableBase.xmlGetId()
public void xmlSetId(String theId)
XmlImportableBase
xmlSetId
in interface XmlImportableBase<AttributeDefName>
XmlImportableBase.xmlSetId(java.lang.String)
public String xmlToString()
XmlImportableBase
xmlToString
in interface XmlImportableBase<AttributeDefName>
XmlImportableBase.xmlToString()
public void store()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |