Package org.teiid.metadata
Class Role.ResourceKey
- java.lang.Object
-
- org.teiid.metadata.Role.ResourceKey
-
- All Implemented Interfaces:
Comparable<Role.ResourceKey>
- Enclosing class:
- Role
public static class Role.ResourceKey extends Object implements Comparable<Role.ResourceKey>
-
-
Constructor Summary
Constructors Constructor Description ResourceKey()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Role.ResourceKey other)
boolean
equals(Object obj)
String
getName()
Database.ResourceType
getType()
int
hashCode()
static Role.ResourceKey
of(String name, Database.ResourceType type)
String
toString()
-
-
-
Method Detail
-
of
public static Role.ResourceKey of(String name, Database.ResourceType type)
-
getName
public String getName()
-
getType
public Database.ResourceType getType()
-
compareTo
public int compareTo(Role.ResourceKey other)
- Specified by:
compareTo
in interfaceComparable<Role.ResourceKey>
-
-