Package com.rapiddweller.model.data
Class PartDescriptor
- java.lang.Object
-
- com.rapiddweller.model.data.FeatureDescriptor
-
- com.rapiddweller.model.data.InstanceDescriptor
-
- com.rapiddweller.model.data.ComponentDescriptor
-
- com.rapiddweller.model.data.PartDescriptor
-
- All Implemented Interfaces:
com.rapiddweller.common.Named
public class PartDescriptor extends ComponentDescriptor
Descriptor for attributes
Created: 30.06.2007 07:29:43- Since:
- 0.2
- Author:
- Volker Bergmann
-
-
Field Summary
-
Fields inherited from class com.rapiddweller.model.data.InstanceDescriptor
CONTAINER, COUNT, COUNT_DISTRIBUTION, COUNT_GRANULARITY, MAX_COUNT, MIN_COUNT, MODE, NULL_QUOTA, NULLABLE, TYPE, UNIQUE
-
Fields inherited from class com.rapiddweller.model.data.FeatureDescriptor
details, NAME, provider
-
-
Constructor Summary
Constructors Constructor Description PartDescriptor(java.lang.String name, DescriptorProvider provider)
Instantiates a new Part descriptor.PartDescriptor(java.lang.String name, DescriptorProvider provider, TypeDescriptor localType)
Instantiates a new Part descriptor.PartDescriptor(java.lang.String name, DescriptorProvider provider, TypeDescriptor localType, com.rapiddweller.script.Expression<java.lang.Long> minCount, com.rapiddweller.script.Expression<java.lang.Long> maxCount)
Instantiates a new Part descriptor.PartDescriptor(java.lang.String name, DescriptorProvider provider, java.lang.String type)
Instantiates a new Part descriptor.PartDescriptor(java.lang.String name, DescriptorProvider provider, java.lang.String type, TypeDescriptor localType, com.rapiddweller.script.Expression<java.lang.Long> minCount, com.rapiddweller.script.Expression<java.lang.Long> maxCount)
Instantiates a new Part descriptor.
-
Method Summary
-
Methods inherited from class com.rapiddweller.model.data.InstanceDescriptor
getContainer, getCount, getCountDistribution, getCountGranularity, getDetailValue, getLocalType, getLocalType, getMaxCount, getMinCount, getMode, getName, getNullQuota, getType, getTypeDescriptor, getUniqueness, isNullable, isUnique, overwritesParent, setContainer, setCount, setCountDistribution, setCountGranularity, setDetailValue, setLocalType, setMaxCount, setMinCount, setMode, setNullable, setNullQuota, setParent, setType, setUnique, toString, withCount, withMaxCount, withMinCount, withNullQuota, withUnique
-
Methods inherited from class com.rapiddweller.model.data.FeatureDescriptor
addConfig, addConfig, addConstraint, addDetail, equals, getConfiguredDetail, getDataModel, getDeclaredDetailValue, getDetails, getDetailType, getProvider, hashCode, renderDetails, renderDetails, setName, supportsDetail
-
-
-
-
Constructor Detail
-
PartDescriptor
public PartDescriptor(java.lang.String name, DescriptorProvider provider)
Instantiates a new Part descriptor.- Parameters:
name
- the nameprovider
- the provider
-
PartDescriptor
public PartDescriptor(java.lang.String name, DescriptorProvider provider, java.lang.String type)
Instantiates a new Part descriptor.- Parameters:
name
- the nameprovider
- the providertype
- the type
-
PartDescriptor
public PartDescriptor(java.lang.String name, DescriptorProvider provider, TypeDescriptor localType)
Instantiates a new Part descriptor.- Parameters:
name
- the nameprovider
- the providerlocalType
- the local type
-
PartDescriptor
public PartDescriptor(java.lang.String name, DescriptorProvider provider, TypeDescriptor localType, com.rapiddweller.script.Expression<java.lang.Long> minCount, com.rapiddweller.script.Expression<java.lang.Long> maxCount)
Instantiates a new Part descriptor.- Parameters:
name
- the nameprovider
- the providerlocalType
- the local typeminCount
- the min countmaxCount
- the max count
-
PartDescriptor
public PartDescriptor(java.lang.String name, DescriptorProvider provider, java.lang.String type, TypeDescriptor localType, com.rapiddweller.script.Expression<java.lang.Long> minCount, com.rapiddweller.script.Expression<java.lang.Long> maxCount)
Instantiates a new Part descriptor.- Parameters:
name
- the nameprovider
- the providertype
- the typelocalType
- the local typeminCount
- the min countmaxCount
- the max count
-
-