org.castor.core.nature
Interface NatureExtendable

All Known Subinterfaces:
ClassDescriptor, ClassDescriptorResolutionCommand, FieldDescriptor, PropertyHolder, XMLClassDescriptor, XMLFieldDescriptor
All Known Implementing Classes:
AppInfo, AutomaticNamingTypeDescriptor, BaseDescriptor, BaseDescriptor, BaseResolutionCommand, BindingDescriptor, BindingTypeDescriptor, BindXmlAutoNamingTypeDescriptor, BindXmlDescriptor, BindXmlNodeTypeDescriptor, BugFixDescriptor, CacheTypeMappingDescriptor, CallMethodDescriptor, CategoryTypeDescriptor, CenturyDescriptor, ClassChoiceDescriptor, ClassDescriptorImpl, ClassInfo, ClassInfo, ClassMappingAccessTypeDescriptor, ClassMappingDescriptor, ClassResolutionByAnnotations, ClassResolutionByCDR, ClassResolutionByFile, ClassResolutionByMappingLoader, ClassTypeDescriptor, CollectionInfo, CollectionInfoJ2, CollectionInfoJ2Collection, CollectionInfoJ2Set, CollectionInfoJ2SortedSet, CollectionInfoODMG30, CollectionTypeDescriptor, ColumnDescriptor, ComponentBindingTypeChoiceDescriptor, ComponentBindingTypeDescriptor, ConfigurationDescriptor, ConfigurationTypeDescriptor, ContainerDescriptor, ContentMemberTypeDescriptor, CustomTestDescriptor, CustomTestTypeDescriptor, DateClassDescriptor, DateDescriptor, DateTimeDescriptor, DurationDescriptor, EnumBindingTypeDescriptor, EnumClassNameDescriptor, EnumerationDescriptor, EnumMemberDescriptor, ExcludeDescriptor, ExcludesDescriptor, ExpectedSourcesDescriptor, FailureDescriptor, FailureStepTypeDescriptor, FailureTypeDescriptor, FieldDescriptor, FieldDescriptorImpl, FieldHandlerDefDescriptor, FieldInfo, FieldInfo, FieldMappingCollectionTypeDescriptor, FieldMappingDescriptor, FieldTypeCollectionTypeDescriptor, FieldTypeDescriptor, FieldTypeVisibilityTypeDescriptor, ForcesDescriptor, GDayDescriptor, GMonthDayDescriptor, GMonthDescriptor, GYearDescriptor, GYearMonthDescriptor, IdentityInfo, IncludeDescriptor, IncludeTypeDescriptor, InterfaceDescriptor, IntrospectedXMLClassDescriptor, KeyGeneratorDefDescriptor, LdapDescriptor, ListClassDescriptor, ListenerDescriptor, ListenerTypeDescriptor, LocaleDescriptor, ManyToManyDescriptor, MappingRootDescriptor, MapToDescriptor, MarshalDescriptor, MarshalFramework.InternalXMLClassDescriptor, MarshallingTestDescriptor, MethodsDescriptor, MonthDescriptor, NamedNativeQueryDescriptor, NamedQueryDescriptor, NamingTypeDescriptor, NamingXMLTypeDescriptor, OneToManyDescriptor, OneToOneDescriptor, OnlySourceGenerationTestDescriptor, PackageTypeChoiceDescriptor, PackageTypeDescriptor, ParamDescriptor, PkTypeDescriptor, PrimaryKeyDescriptor, PrimitivesClassDescriptor, PropertyDescriptor, PropertyTypeDescriptor, QueryHintDescriptor, ReadonlyDirtyTypeDescriptor, RecurringDurationDescriptor, Root_ObjectDescriptor, RootArrayDescriptor, RootTypeDescriptor, SchemaDifferencesDescriptor, SchemaDifferencesTypeDescriptor, SchemaTestDescriptor, SourceGeneratorTestDescriptor, SourcesNotExpectedDescriptor, SQLDateClassDescriptor, SqlDescriptor, SqlDirtyTypeDescriptor, SQLTimeClassDescriptor, SQLTimestampClassDescriptor, StringClassDescriptor, StringTypeDescriptor, TableDescriptor, TestDescriptorChoiceDescriptor, TestDescriptorDescriptor, TimeDescriptor, TimeDurationDescriptor, TimePeriodDescriptor, TypeTypeDescriptor, UnitTestCaseChoiceDescriptor, UnitTestCaseDescriptor, UnmarshalDescriptor, ValueDescriptor, VectorClassDescriptor, VisibilityTypeDescriptor, XMLClassDescriptorAdapter, XMLClassDescriptorImpl, XMLContainerElementFieldDescriptor, XMLFieldDescriptorImpl, YearDescriptor

public interface NatureExtendable

Defines a marker interface that any class needs to implement that wants to allow natures to be layered on top.

Since:
1.2.1
Author:
Tobias Hochwallner, Sebastian Gabmeyer
See Also:
ClassInfo, Nature

Method Summary
 void addNature(java.lang.String nature)
          Adds a specified nature.
 boolean hasNature(java.lang.String nature)
          Checks if a specified nature has been added.
 

Method Detail

hasNature

boolean hasNature(java.lang.String nature)
Checks if a specified nature has been added.

Parameters:
nature - the name of the nature.
Returns:
true if the specified nature was added.

addNature

void addNature(java.lang.String nature)
Adds a specified nature.

Parameters:
nature - the name of the nature


Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com