Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
AssetType Class Reference
Inheritance diagram for AssetType:

Public Member Functions

 AssetType (String typeCode)
 
boolean isCreatable ()
 
String[] getMenuPath ()
 
String getName ()
 
Icon getIcon ()
 
boolean isIconLoaded ()
 
String getTypeCode ()
 
Iterator getScreens ()
 
AssetType getParentType ()
 
boolean isAncestor (AssetType parentType)
 
boolean isAncestor (String assetType)
 
void setParentType (AssetType parentType)
 
int hashCode ()
 
String toString ()
 
boolean equals (Object obj)
 

Detailed Description

The AssetType class represents an Asset Type in the mysource Matrix system.

Author
Marc McIntyre mmcin.nosp@m.tyre.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Definition at line 30 of file AssetType.java.

Constructor & Destructor Documentation

AssetType ( String  typeCode)
inline

Constructs a new asset type for the given type code

Definition at line 45 of file AssetType.java.

Member Function Documentation

boolean equals ( Object  obj)
inline

returns TRUE if this Asset Type is equal to the given object

Returns
TRUE if this asset type is equal to the give object

Definition at line 197 of file AssetType.java.

Icon getIcon ( )
inline

Returns the icon for this asset type

Returns
the icon for this asset type

Definition at line 112 of file AssetType.java.

String [] getMenuPath ( )
inline

Returns the menu path for this asset type

Returns
the menu path for this asset type

Definition at line 96 of file AssetType.java.

String getName ( )
inline

Returns this asset type's name

Returns
the name of this asset type

Definition at line 104 of file AssetType.java.

AssetType getParentType ( )
inline

Returns the parent type of this asset type

Returns
the parent type of this asset type

Definition at line 155 of file AssetType.java.

Iterator getScreens ( )
inline

Returns a Iterator of the screens for this asset type

Returns
a list of the screens for this asset type

Definition at line 147 of file AssetType.java.

String getTypeCode ( )
inline

Returns the type code of this asset type

Returns
the type code of this asset type

Definition at line 128 of file AssetType.java.

int hashCode ( )
inline

Returns the unique hash code for this asset type

Returns
the hash code

Definition at line 185 of file AssetType.java.

boolean isCreatable ( )
inline

Returns TRUE if this asset type is createable.

Returns
TRUE if this asset type is createable

Definition at line 75 of file AssetType.java.

boolean isIconLoaded ( )
inline

Returns whether the icon is loaded for this asset type

Returns
TRUE if the icon is already loaded

Definition at line 120 of file AssetType.java.

void setParentType ( AssetType  parentType)
inline

Sets the parent type of this asset type

Parameters
parentTypethe parent type of this asset type

Definition at line 177 of file AssetType.java.


The documentation for this class was generated from the following file: