public class TypeDefStore extends Object
| Constructor and Description |
|---|
TypeDefStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTypeDef(TypeDef typeDef)
Adds the provided TypeDef to the list of those that are implemented in the repository.
|
void |
addUnimplementedTypeDef(TypeDef typeDef)
Adds the provided TypeDef to the list of those that are not implemented in the repository.
|
Map<String,TypeDefAttribute> |
getAllTypeDefAttributesForGUID(String guid)
Retrieves a map from attribute name to attribute definition for all attributes of the specified type definition,
including all of its supertypes' attributes.
|
Map<String,TypeDefAttribute> |
getAllTypeDefAttributesForName(String name)
Retrieves a map from attribute name to attribute definition for all attributes of the specified type definition,
including all of its supertypes' attributes.
|
List<TypeDef> |
getAllTypeDefs()
Retrieves a listing of all of the implemented type definitions for this repository.
|
TypeDef |
getTypeDefByGUID(String guid)
Retrieves an implemented TypeDef by its GUID.
|
TypeDef |
getTypeDefByName(String name)
Retrieves an implemented TypeDef by its name.
|
TypeDef |
getUnimplementedTypeDefByGUID(String guid)
Retrieves an unimplemented TypeDef by its GUID.
|
public void addTypeDef(TypeDef typeDef)
typeDef - an implemented type definitionpublic void addUnimplementedTypeDef(TypeDef typeDef)
typeDef - an unimplemented type definitionpublic TypeDef getUnimplementedTypeDefByGUID(String guid)
guid - of the type definitionpublic TypeDef getTypeDefByGUID(String guid)
guid - of the type definitionpublic TypeDef getTypeDefByName(String name)
name - of the type definitionpublic Map<String,TypeDefAttribute> getAllTypeDefAttributesForGUID(String guid)
guid - of the type definitionMap<String, TypeDefAttribute>public Map<String,TypeDefAttribute> getAllTypeDefAttributesForName(String name)
name - of the type definitionMap<String, TypeDefAttribute>Copyright © 2018–2019 ODPi. All rights reserved.