public class Category extends Object
Constructor and Description |
---|
Category(String name,
Key<?>... keys)
Creates a new Category instance with the specified name.
|
Modifier and Type | Method and Description |
---|---|
ConnectionKey |
getConnectionKey() |
Key<?> |
getKey(String name) |
Collection<Key<?>> |
getKeys() |
String |
getName() |
boolean |
hasBeenRegistered() |
void |
setConnectionKey(ConnectionKey connKey) |
public Category(String name, Key<?>... keys)
name
- the name of the categoryIllegalArgumentException
- if a Category is created with a name that has been used beforepublic String getName()
public Collection<Key<?>> getKeys()
public void setConnectionKey(ConnectionKey connKey)
public ConnectionKey getConnectionKey()
public boolean hasBeenRegistered()
Copyright © 2012. All Rights Reserved.