org.exolab.castor.xml.schema
Class AppInfo
java.lang.Object
org.exolab.castor.xml.schema.Structure
org.exolab.castor.xml.schema.AnnotationItem
org.exolab.castor.xml.schema.AppInfo
- All Implemented Interfaces:
- Serializable, NatureExtendable, PropertyHolder
public class AppInfo
- extends AnnotationItem
- implements PropertyHolder
A class which represents the AppInfo element
- Version:
- $Revision: 8911 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
- Author:
- Keith Visco
- See Also:
AnnotationItem,
Serialized Form
| Fields inherited from class org.exolab.castor.xml.schema.Structure |
ANNOTATION, 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 Summary |
AppInfo()
Creates a new AppInfo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppInfo
public AppInfo()
- Creates a new AppInfo
getStructureType
public short getStructureType()
- Returns the type of this Schema Structure
- Specified by:
getStructureType in class AnnotationItem
- Returns:
- the type of this Schema Structure
getProperty
public Object getProperty(String name)
- Specified by:
getProperty in interface PropertyHolder
- Parameters:
name - of the property
- Returns:
- value of the property
- See Also:
getProperty(java.lang.String)
setProperty
public void setProperty(String name,
Object value)
- Specified by:
setProperty in interface PropertyHolder
- Parameters:
name - of the propertyvalue - of the property- See Also:
setProperty(java.lang.String, java.lang.Object)
addNature
public void addNature(String nature)
- Specified by:
addNature in interface NatureExtendable
- Parameters:
nature - ID of the Nature- See Also:
addNature(java.lang.String)
hasNature
public boolean hasNature(String nature)
- Specified by:
hasNature in interface NatureExtendable
- Parameters:
nature - ID of the Nature
- Returns:
- true if the Nature ID was added.
- See Also:
hasNature(java.lang.String)
Copyright © 2012. All Rights Reserved.