org.castor.core.nature
Interface PropertyHolder

All Superinterfaces:
NatureExtendable
All Known Subinterfaces:
ClassDescriptor, ClassDescriptorResolutionCommand, FieldDescriptor, XMLClassDescriptor, XMLFieldDescriptor
All Known Implementing Classes:
AddressDescriptor, AddressJDODescriptor, AutomaticNamingTypeDescriptor, BaseDescriptor, BaseDescriptor, BaseResolutionCommand, BindingDescriptor, BindingTypeDescriptor, BindXmlAutoNamingTypeDescriptor, BindXmlDescriptor, BindXmlNodeTypeDescriptor, BookDescriptor, BookJDODescriptor, BugFixDescriptor, CacheTypeMappingDescriptor, CallMethodDescriptor, CategoryTypeDescriptor, CenturyDescriptor, ClassChoiceDescriptor, ClassDescriptorImpl, ClassInfo, ClassInfo, ClassMappingAccessTypeDescriptor, ClassMappingDescriptor, ClassMappingDescriptor, ClassResolutionByAnnotations, ClassResolutionByCDR, ClassResolutionByFile, ClassResolutionByMappingLoader, ClassTypeDescriptor, CollectionInfo, CollectionInfoJ2, CollectionInfoJ2Collection, CollectionInfoJ2Set, CollectionInfoJ2SortedSet, CollectionInfoODMG30, CollectionTypeDescriptor, ColumnDescriptor, ComponentBindingTypeChoiceDescriptor, ComponentBindingTypeDescriptor, ConfigurationDescriptor, ConfigurationTypeDescriptor, ContainerDescriptor, ContentMemberTypeDescriptor, CpactfConfDescriptor, CustomTestDescriptor, CustomTestTypeDescriptor, DatabaseChoiceDescriptor, DatabaseChoiceDescriptor, DatabaseDescriptor, DatabaseDescriptor, DatabaseEngineTypeDescriptor, DataSourceDescriptor, DataSourceDescriptor, DateClassDescriptor, DateDescriptor, DateTimeDescriptor, DriverDescriptor, DriverDescriptor, DurationDescriptor, EmployeeDescriptor, EmployeeJDODescriptor, EnumBindingTypeDescriptor, EnumClassNameDescriptor, EnumerationDescriptor, EnumMemberDescriptor, ExcludeDescriptor, ExcludesDescriptor, ExpectedSourcesDescriptor, FailureDescriptor, FailureStepTypeDescriptor, FailureTypeDescriptor, FieldDescriptorImpl, FieldHandlerDefDescriptor, FieldInfo, FieldInfo, FieldMappingCollectionTypeDescriptor, FieldMappingDescriptor, FieldTypeCollectionTypeDescriptor, FieldTypeDescriptor, FieldTypeVisibilityTypeDescriptor, FlatDescriptor, FlatJDODescriptor, ForcesDescriptor, GDayDescriptor, GMonthDayDescriptor, GMonthDescriptor, GYearDescriptor, GYearMonthDescriptor, HouseDescriptor, HouseJDODescriptor, IdentityInfo, IncludeDescriptor, IncludeTypeDescriptor, InterfaceDescriptor, JdoConfDescriptor, JndiDescriptor, JndiDescriptor, KeyGeneratorDefDescriptor, LdapDescriptor, ListClassDescriptor, ListenerDescriptor, ListenerTypeDescriptor, LocaleDescriptor, ManagerDescriptor, ManyToManyDescriptor, MappingDescriptor, MappingRootDescriptor, MapToDescriptor, MarshalDescriptor, MarshallingTestDescriptor, MethodsDescriptor, MonthDescriptor, NamedNativeQueryDescriptor, NamedQueryDescriptor, NamingTypeDescriptor, NamingXMLTypeDescriptor, OneToManyDescriptor, OneToOneDescriptor, OnlySourceGenerationTestDescriptor, PackageMappingDescriptor, PackageTypeChoiceDescriptor, PackageTypeDescriptor, ParamDescriptor, ParamDescriptor, 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, TableAccessModeTypeDescriptor, TableDescriptor, TestDescriptorChoiceDescriptor, TestDescriptorDescriptor, TimeDescriptor, TimeDurationDescriptor, TimePeriodDescriptor, TransactionDemarcationDescriptor, TransactionDescriptor, TransactionManagerDescriptor, TransactionModeTypeDescriptor, TypeTypeDescriptor, UnitTestCaseChoiceDescriptor, UnitTestCaseDescriptor, UnmarshalDescriptor, ValueDescriptor, VectorClassDescriptor, VisibilityTypeDescriptor, XMLClassDescriptorAdapter, XMLClassDescriptorImpl, XMLContainerElementFieldDescriptor, XMLFieldDescriptorImpl, YearDescriptor

public interface PropertyHolder
extends NatureExtendable

PropertyHolder provides get and set methods on a holder.

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

Method Summary
 Object getProperty(String name)
          Get a property by its name.
 void setProperty(String name, Object value)
          Set a property specified by the name to the passed value.
 
Methods inherited from interface org.castor.core.nature.NatureExtendable
addNature, hasNature
 

Method Detail

getProperty

Object getProperty(String name)
Get a property by its name.

Parameters:
name - the name of the property to get.
Returns:
the property as specified by the name.

setProperty

void setProperty(String name,
                 Object value)
Set a property specified by the name to the passed value.

Parameters:
name - the name of the property to set.
value - the value to set the specified property to.


Copyright © 2012. All Rights Reserved.