Package com.rapiddweller.model.data
Class ArrayElementDescriptor
- java.lang.Object
-
- com.rapiddweller.model.data.FeatureDescriptor
-
- com.rapiddweller.model.data.InstanceDescriptor
-
- com.rapiddweller.model.data.ComponentDescriptor
-
- com.rapiddweller.model.data.ArrayElementDescriptor
-
- All Implemented Interfaces:
com.rapiddweller.common.Named
public class ArrayElementDescriptor extends ComponentDescriptor
Describes an array element.
Created: 30.04.2010 10:08:31- Since:
- 0.6.1
- 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 ArrayElementDescriptor(int index, DescriptorProvider provider, TypeDescriptor localType)
Instantiates a new Array element descriptor.ArrayElementDescriptor(int index, DescriptorProvider provider, java.lang.String typeName)
Instantiates a new Array element descriptor.ArrayElementDescriptor(int index, DescriptorProvider provider, java.lang.String typeName, TypeDescriptor localType)
Instantiates a new Array element descriptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
Gets index.void
setIndex(int index)
Sets index.-
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
-
ArrayElementDescriptor
public ArrayElementDescriptor(int index, DescriptorProvider provider, java.lang.String typeName, TypeDescriptor localType)
Instantiates a new Array element descriptor.- Parameters:
index
- the indexprovider
- the providertypeName
- the type namelocalType
- the local type
-
ArrayElementDescriptor
public ArrayElementDescriptor(int index, DescriptorProvider provider, java.lang.String typeName)
Instantiates a new Array element descriptor.- Parameters:
index
- the indexprovider
- the providertypeName
- the type name
-
ArrayElementDescriptor
public ArrayElementDescriptor(int index, DescriptorProvider provider, TypeDescriptor localType)
Instantiates a new Array element descriptor.- Parameters:
index
- the indexprovider
- the providerlocalType
- the local type
-
-