public class Metadata extends Object
Constructor and Description |
---|
Metadata() |
Modifier and Type | Method and Description |
---|---|
void |
addClassElement(String className,
MetadataElement classElement)
Adds a new element to the specific element class.
|
void |
addClassReference(String className,
MetadataElement classReference)
Adds a new reference to the specific element class.
|
void |
addEnumValue(String enumName,
String enumValue)
Adds a enumeration value to the specified enumeration name.
|
void |
addGroupElement(String groupName,
MetadataElement groupElement)
Adds a new element to the specific group element class.
|
void |
addGroupReference(String groupName,
MetadataElement groupReference)
Adds a new reference to the specific group element class.
|
List<MetadataItem> |
getClassList() |
String |
getCurrentNamespace() |
String |
getCurrentPackageApi() |
String |
getCurrentPackageImpl() |
String |
getCurrentSchmema() |
List<MetadataItem> |
getDataTypeList() |
List<MetadataEnum> |
getEnumList() |
List<MetadataItem> |
getGroupList() |
List<MetadataDescriptor> |
getMetadataDescriptorList() |
List<String> |
getPackageApiList() |
List<String> |
getPackageImplList() |
void |
preResolveDataTypes()
Replaces all data type occurrences found in the element types for all classes with the simple data type.
|
void |
setCurrentNamespace(String currentNamespace) |
void |
setCurrentPackageApi(String currentPackageApi) |
void |
setCurrentPackageImpl(String currentPackageImpl) |
void |
setCurrentSchmema(String currentSchmema) |
void |
setMetadataDescriptorList(List<MetadataDescriptor> metadataDescriptorList) |
public List<MetadataDescriptor> getMetadataDescriptorList()
public void setMetadataDescriptorList(List<MetadataDescriptor> metadataDescriptorList)
public String getCurrentNamespace()
public void setCurrentNamespace(String currentNamespace)
public String getCurrentSchmema()
public void setCurrentSchmema(String currentSchmema)
public String getCurrentPackageApi()
public void setCurrentPackageApi(String currentPackageApi)
public String getCurrentPackageImpl()
public void setCurrentPackageImpl(String currentPackageImpl)
public List<MetadataItem> getDataTypeList()
public List<MetadataEnum> getEnumList()
public List<MetadataItem> getGroupList()
public List<MetadataItem> getClassList()
public void addEnumValue(String enumName, String enumValue)
enumName
- the enumeration class name.enumValue
- the new enumeration value.public void addGroupElement(String groupName, MetadataElement groupElement)
groupName
- the group class name ofgroupElement
- the new element to be added.public void addGroupReference(String groupName, MetadataElement groupReference)
groupName
- the group class name ofgroupReference
- the new reference to be added.public void addClassElement(String className, MetadataElement classElement)
className
- the class nameclassElement
- the new element to be added.public void addClassReference(String className, MetadataElement classReference)
className
- the class nameclassReference
- the new reference to be added.public void preResolveDataTypes()
Copyright © 2019 JBoss by Red Hat. All rights reserved.