Interface NatureExtendable

All Known Subinterfaces:
ClassDescriptor, ClassDescriptorResolutionCommand, FieldDescriptor, PropertyHolder, XMLClassDescriptor, XMLFieldDescriptor
All Known Implementing Classes:
AutomaticNamingTypeDescriptor, BaseDescriptor, BaseDescriptor, BaseResolutionCommand, BindingDescriptor, BindingTypeDescriptor, BindXmlAutoNamingTypeDescriptor, BindXmlDescriptor, BindXmlNodeTypeDescriptor, CacheTypeMappingDescriptor, CenturyDescriptor, ClassChoiceDescriptor, ClassDescriptorImpl, ClassInfo, ClassInfo, ClassMappingAccessTypeDescriptor, ClassMappingDescriptor, ClassResolutionByAnnotations, ClassResolutionByCDR, ClassResolutionByFile, ClassResolutionByMappingLoader, ClassTypeDescriptor, CollectionInfo, CollectionInfoJ2, CollectionInfoJ2Collection, CollectionInfoJ2Set, CollectionInfoJ2SortedSet, CollectionInfoODMG30, ColumnDescriptor, ComponentBindingTypeChoiceDescriptor, ComponentBindingTypeDescriptor, ContainerDescriptor, ContentMemberTypeDescriptor, DateClassDescriptor, DateDescriptor, DateTimeDescriptor, DurationDescriptor, EnumBindingTypeDescriptor, EnumClassNameDescriptor, EnumerationDescriptor, EnumMemberDescriptor, ExcludeDescriptor, ExcludesDescriptor, FieldDescriptorImpl, FieldHandlerDefDescriptor, FieldInfo, FieldInfo, FieldMappingCollectionTypeDescriptor, FieldMappingDescriptor, FieldTypeCollectionTypeDescriptor, FieldTypeDescriptor, FieldTypeVisibilityTypeDescriptor, ForcesDescriptor, GDayDescriptor, GMonthDayDescriptor, GMonthDescriptor, GYearDescriptor, GYearMonthDescriptor, IdentityInfo, IncludeDescriptor, IncludeTypeDescriptor, InterfaceDescriptor, IntrospectedXMLClassDescriptor, KeyGeneratorDefDescriptor, LdapDescriptor, ListClassDescriptor, LocaleDescriptor, ManyToManyDescriptor, MappingRootDescriptor, MapToDescriptor, MarshalFramework.InternalXMLClassDescriptor, MonthDescriptor, NamedNativeQueryDescriptor, NamedQueryDescriptor, NamingTypeDescriptor, NamingXMLTypeDescriptor, OneToManyDescriptor, OneToOneDescriptor, PackageTypeChoiceDescriptor, PackageTypeDescriptor, ParamDescriptor, PkTypeDescriptor, PrimaryKeyDescriptor, PrimitivesClassDescriptor, PropertyDescriptor, PropertyTypeDescriptor, QueryHintDescriptor, ReadonlyDirtyTypeDescriptor, RecurringDurationDescriptor, RootArrayDescriptor, SQLDateClassDescriptor, SqlDescriptor, SqlDirtyTypeDescriptor, SQLTimeClassDescriptor, SQLTimestampClassDescriptor, StringClassDescriptor, TableAccessModeTypeDescriptor, TableDescriptor, TimeDescriptor, TimeDurationDescriptor, TimePeriodDescriptor, 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:
  • invalid reference
    ClassInfo
  • Nature
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addNature(String nature)
    Adds a specified nature.
    boolean
    hasNature(String nature)
    Checks if a specified nature has been added.
  • Method Details

    • hasNature

      boolean hasNature(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(String nature)
      Adds a specified nature.
      Parameters:
      nature - the name of the nature