# Aw::Admin::TypeDef

Method | Arguments | Return | Throws Exception
--- | --- | --- | ---
new | ( [ type_name, type, \%data ] ) ( [ Aw::Admin::TypeDef | Aw::TypeDef ] ) All arguments are optional, the typedef will setup using as much info (or none) as passed. See examples. | Aw::Admin::TypeDef | YES
clearField | ( [field_name] ) | Boolean | YES
clearModificationFlag | ( ) | void | NO
copy | ( ) | Aw::Admin::TypeDef | NO
delete | ( ) | void | NO
getBaseTypeName | ( ) | String | NO
getDescription | ( ) | String | YES
getFieldDef | ( field_name ) | Aw::Admin::TypeDef | YES
getFieldNames | ( field_name ) | @ of Strings | YES
getFieldType | ( field_name ) | Type Id | YES
getScopeTypeName | ( ) | String | NO
getStorageType | ( ) | Number | YES
getTimeToLive | ( ) | Number | YES
getTypeName | ( ) | String | NO
hasBeenModified | ( ) | Boolean | NO
insertFieldDef | ( field_name, index, Aw::Admin::TypeDef ) | Boolean | YES
isSystemDefined | ( ) | Boolean | YES
orderFields | ( field_name, \@field_names ) | Boolean | YES
renameField | ( old_field_name, new_field_name ) | Boolean | YES
setDescription | ( description ) | Boolean | YES
setFieldDef | ( field_name, Aw::Admin::TypeDef ) | Boolean | YES
setFieldType | ( field_name, field_type ) | Boolean | YES
setModificationFlag | ( ) | void | NO
setStorageType | ( number ) | Boolean | YES
setTimeToLive | ( number ) | Boolean | YES
setTypeName | ( type_name ) | Boolean | YES
toString | ( [indent_level] ) | String | NO
Inherited Methods
err | ( ) | Boolean | YES
errmsg | ( ) | String | YES
error | ( ) | Aw::Error | NO
hello | ( ) Returns the string "hello". Useful for debugging. | String | NO
getWarn | ( ) Returns current warn `level`. | Number | NO
setWarn | ( level ) Sets new warn `level`. 0 : No warnings (quiet mode) 1 : Terse (uses awErrorToString) 2 : Verbose (uses awErrorToCompleteString) The Aw extensions must be compiled with AWXS_WARNS defined. | void | NO
warn | ( [string] ) Warn message is `string` if passed, otherwise current err is converted to string. | void | YES