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
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:
-
Field Summary
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a specified nature.getProperty(String name) Get a property by its name.shortReturns the type of this Schema StructurebooleanChecks if a specified nature has been added.voidsetProperty(String name, Object value) Set a property specified by the name to the passed value.Methods inherited from class org.exolab.castor.xml.schema.AnnotationItem
add, getContent, getObjects, getSource, remove, setSource, validate
-
Constructor Details
-
AppInfo
public AppInfo()Creates a new AppInfo
-
-
Method Details
-
getStructureType
public short getStructureType()Returns the type of this Schema Structure- Specified by:
getStructureTypein classAnnotationItem- Returns:
- the type of this Schema Structure
-
getProperty
Description copied from interface:PropertyHolderGet a property by its name.- Specified by:
getPropertyin interfacePropertyHolder- Parameters:
name- of the property- Returns:
- value of the property
-
setProperty
Description copied from interface:PropertyHolderSet a property specified by the name to the passed value.- Specified by:
setPropertyin interfacePropertyHolder- Parameters:
name- of the propertyvalue- of the property
-
addNature
Description copied from interface:NatureExtendableAdds a specified nature.- Specified by:
addNaturein interfaceNatureExtendable- Parameters:
nature- ID of the Nature
-
hasNature
Description copied from interface:NatureExtendableChecks if a specified nature has been added.- Specified by:
hasNaturein interfaceNatureExtendable- Parameters:
nature- ID of the Nature- Returns:
- true if the Nature ID was added.
-