Package org.castor.core.nature
Interface PropertyHolder
- All Superinterfaces:
NatureExtendable
- All Known Subinterfaces:
ClassDescriptor,ClassDescriptorResolutionCommand,FieldDescriptor,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
PropertyHolder provides get and set methods on a holder.
- Since:
- 1.2.1
- Author:
- Sebastian Gabmeyer
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String name) Get a property by its name.voidsetProperty(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 Details
-
getProperty
Get a property by its name.- Parameters:
name- the name of the property to get.- Returns:
- the property as specified by the name.
-
setProperty
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.
-