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 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, WILDCARDModifier and TypeFieldDescriptionstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final shortstatic final short -
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 AnnotationItem
add, getContent, getObjects, getSource, remove, setSource, validateModifier and TypeMethodDescriptionvoidAdds the given Object to this Annotation item.Returns the String content of this Annotation item.Returns an Enumeration of all objects contained by this Annotation item.Returns the source property of this Annotaion item.voidRemoves the given Object from this Annotation item.voidSets the source property for this Annotaion item.voidvalidate()Checks the validity of this Schema defintion.
-
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.
-