public class TypeDefinition extends Object implements Serializable
Type
instance.
Generally speaking this information would come from annotations
(TypeDef
) or XML mappings. An alternative form of
supplying custom types is programmatically via one of:Constructor and Description |
---|
TypeDefinition(String name,
Class typeImplementorClass,
String[] registrationKeys,
Map<String,String> parameters) |
TypeDefinition(String name,
Class typeImplementorClass,
String[] registrationKeys,
Properties parameters) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName() |
Map<String,String> |
getParameters() |
Properties |
getParametersAsProperties() |
String[] |
getRegistrationKeys() |
Class |
getTypeImplementorClass() |
int |
hashCode() |
String |
toString() |
public TypeDefinition(String name, Class typeImplementorClass, String[] registrationKeys, Map<String,String> parameters)
public TypeDefinition(String name, Class typeImplementorClass, String[] registrationKeys, Properties parameters)
public String getName()
public Class getTypeImplementorClass()
public String[] getRegistrationKeys()
public Properties getParametersAsProperties()
Copyright © 2017 JBoss by Red Hat. All rights reserved.