|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorca.shirako.common.ResourceType
public class ResourceType
ResourceType is used to name a particular resource type.
ResourceType consists of a single string describing the
particular resource type. ResourceType is a read-only class:
once created it cannot be modified.
| Field Summary | |
|---|---|
protected java.lang.String |
type
The internal representation of the resource type. |
| Constructor Summary | |
|---|---|
ResourceType(int type)
Creates a new instance. |
|
ResourceType(java.lang.String type)
Creates a new instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getType()
Returns the string representation of this resource type name. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String type
| Constructor Detail |
|---|
public ResourceType(int type)
type - type namepublic ResourceType(java.lang.String type)
type - type name| Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||