public class DefinitionRepository extends Object
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
customMappingExists(String name) |
TypeDef |
getDefinition(String fullyQualifiedName) |
TypeDef |
getDefinition(TypeRef type) |
Collection<TypeDef> |
getDefinitions() |
Set<TypeDef> |
getDefinitions(AttributeKey<Boolean>... attributeKeys) |
Set<TypeDef> |
getDefinitions(String... flags) |
Map<String,String> |
getReferenceMap() |
static DefinitionRepository |
getRepository() |
String |
putCustomMapping(String name,
String fqn) |
TypeDef |
register(TypeDef definition) |
TypeDef |
register(TypeDef definition,
AttributeKey<Boolean>... flags) |
TypeDef |
register(TypeDef definition,
String... flags) |
TypeDef |
registerIfAbsent(TypeDef definition) |
String |
removeCustomMapping(String name) |
void |
updateReferenceMap() |
public static final DefinitionRepository getRepository()
public TypeDef register(TypeDef definition, AttributeKey<Boolean>... flags)
public Set<TypeDef> getDefinitions(AttributeKey<Boolean>... attributeKeys)
public Collection<TypeDef> getDefinitions()
public void updateReferenceMap()
public boolean customMappingExists(String name)
public void clear()
Copyright © 2019 JBoss by Red Hat. All rights reserved.