public class AppInfo extends AnnotationItem implements PropertyHolder
AnnotationItem,
Serialized FormANNOTATION, ANYTYPE, APPINFO, ATTRIBUTE, ATTRIBUTE_GROUP, COMPLEX_CONTENT, COMPLEX_TYPE, DOCUMENTATION, ELEMENT, FACET, GROUP, IDENTITY_FIELD, IDENTITY_SELECTOR, KEY, KEYREF, LIST, MODELGROUP, MODELGROUP_REF, REDEFINE, SCHEMA, SIMPLE_CONTENT, SIMPLE_TYPE, UNION, UNIQUE, UNKNOWN, WILDCARD| Constructor and Description |
|---|
AppInfo()
Creates a new AppInfo
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNature(String nature)
Adds a specified nature.
|
Object |
getProperty(String name)
Get a property by its name.
|
short |
getStructureType()
Returns the type of this Schema Structure
|
boolean |
hasNature(String nature)
Checks if a specified nature has been added.
|
void |
setProperty(String name,
Object value)
Set a property specified by the name to the passed value.
|
add, getContent, getObjects, getSource, remove, setSource, validatepublic short getStructureType()
getStructureType in class AnnotationItempublic Object getProperty(String name)
PropertyHoldergetProperty in interface PropertyHoldername - of the propertygetProperty(java.lang.String)public void setProperty(String name, Object value)
PropertyHoldersetProperty in interface PropertyHoldername - of the propertyvalue - of the propertysetProperty(java.lang.String, java.lang.Object)public void addNature(String nature)
NatureExtendableaddNature in interface NatureExtendablenature - ID of the NatureaddNature(java.lang.String)public boolean hasNature(String nature)
NatureExtendablehasNature in interface NatureExtendablenature - ID of the NaturehasNature(java.lang.String)Copyright © 2021. All rights reserved.