public abstract class ALcdAIXM51Code extends Object
Constructor and Description |
---|
ALcdAIXM51Code() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Codes are equal if their class matches and their code strings are the same.
|
abstract String |
getCode() |
static <T extends ALcdAIXM51Code> |
getWellKnown(Class<T> aCodeClass)
Returns all known codes for the given class.
|
static <T extends ALcdAIXM51Code> |
getWellKnown(Class<T> aCodeClass,
String aCode)
Returns a code of the given class of the given code string.
|
int |
hashCode() |
String |
toString() |
public static <T extends ALcdAIXM51Code> T getWellKnown(Class<T> aCodeClass, String aCode)
null
is returned.aCodeClass
- the class of the code that is to be returnedaCode
- the code string of the code that is to be returnedpublic static <T extends ALcdAIXM51Code> Collection<T> getWellKnown(Class<T> aCodeClass)
aCodeClass
- The class for which to retrieve all known codes.public abstract String getCode()