org.castor.core.nature
Interface PropertyHolder

All Superinterfaces:
NatureExtendable
All Known Subinterfaces:
ClassDescriptor, ClassDescriptorResolutionCommand, FieldDescriptor, XMLClassDescriptor, XMLFieldDescriptor
All Known Implementing Classes:
BaseDescriptor, BaseDescriptor, BaseHarnessDescriptor, BaseResolutionCommand, CaseDescriptor, CategoryDescriptor, CenturyDescriptor, ClassDescriptorImpl, ClassInfo, ClassInfo, ClassResolutionByCDR, ClassResolutionByFile, ClassResolutionByMappingLoader, CollectionInfo, CollectionInfoJ2, CollectionInfoJ2Collection, CollectionInfoJ2Set, CollectionInfoJ2SortedSet, CollectionInfoODMG30, DateClassDescriptor, DateDescriptor, DateTimeDescriptor, DurationDescriptor, EnumerationDescriptor, FieldDescriptorImpl, FieldInfo, FieldInfo, GDayDescriptor, GMonthDayDescriptor, GMonthDescriptor, GYearDescriptor, GYearMonthDescriptor, HarnessDescriptor, IdentityInfo, ListClassDescriptor, LocaleDescriptor, MonthDescriptor, PrimitivesClassDescriptor, RecurringDurationDescriptor, RootArrayDescriptor, SQLDateClassDescriptor, SQLTimeClassDescriptor, SQLTimestampClassDescriptor, StringClassDescriptor, TimeDescriptor, TimeDurationDescriptor, TimePeriodDescriptor, VectorClassDescriptor, 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
 java.lang.Object getProperty(java.lang.String name)
          Get a property by its name.
 void setProperty(java.lang.String name, java.lang.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

java.lang.Object getProperty(java.lang.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(java.lang.String name,
                 java.lang.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 © 2011. All Rights Reserved.