Class TypeDescriptionInfoWithTypeInfo
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.core.typeinfo.TypeDescriptionInfo
-
- com._1c.g5.v8.dt.platform.core.typeinfo.TypeDescriptionInfoWithTypeInfo
-
- All Implemented Interfaces:
ITypeDescriptionInfoWithTypeInfo
public class TypeDescriptionInfoWithTypeInfo extends TypeDescriptionInfo implements ITypeDescriptionInfoWithTypeInfo
Extension ofTypeDescriptionInfo
. ImplementsITypeDescriptionInfoWithTypeInfo
-
-
Constructor Summary
Constructors Constructor Description TypeDescriptionInfoWithTypeInfo()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(TypeItem type)
Checks thattype
contains in this descriptionTypeInfo
getTypeInfo(String code, boolean isTypeSet)
GetsTypeInfo
by nameList<TypeInfo>
getTypeInfos()
Get all type info.void
setTypeInfos(Collection<TypeInfo> typeInfos)
Sets type info.-
Methods inherited from class com._1c.g5.v8.dt.platform.core.typeinfo.TypeDescriptionInfo
getDateFractions, getMaxBinaryLenFix, getMaxBinaryLenVar, getMaxPrecisionLen, getMaxScaleLen, getMaxStringLenFix, getMaxStringLenVar, getMinBinaryLen, getMinStringLen, isCompositeTypeEnable, isEmptyTypeEnable, isMixSingleEnable, isNumericPositiveOnly, isQualifiersEnable, isStringFixedOnly, setCompositeTypeEnable, setDateFractions, setEmptyTypeEnable, setMaxBinaryLenFix, setMaxBinaryLenVar, setMaxPrecisionLen, setMaxScaleLen, setMaxStringLenFix, setMaxStringLenVar, setMinBinaryLen, setMinStringLen, setMixSingleEnable, setNumericPositiveOnly, setQualifiersEnable, setStringFixedOnly
-
-
-
-
Method Detail
-
getTypeInfos
public List<TypeInfo> getTypeInfos()
Description copied from interface:ITypeDescriptionInfoWithTypeInfo
Get all type info.- Specified by:
getTypeInfos
in interfaceITypeDescriptionInfoWithTypeInfo
- Returns:
- list of
TypeInfo
or empty list. Can't benull
-
getTypeInfo
public TypeInfo getTypeInfo(String code, boolean isTypeSet)
Description copied from interface:ITypeDescriptionInfoWithTypeInfo
GetsTypeInfo
by name- Specified by:
getTypeInfo
in interfaceITypeDescriptionInfoWithTypeInfo
- Parameters:
code
- name of the type inTypeInfo
. Can't benull
isTypeSet
-true
if finding typeInfo should be TypeSet- Returns:
- found
TypeInfo
ornull
, if typeInfo with namecode
wasn't found
-
setTypeInfos
public void setTypeInfos(Collection<TypeInfo> typeInfos)
Description copied from interface:ITypeDescriptionInfoWithTypeInfo
Sets type info.- Specified by:
setTypeInfos
in interfaceITypeDescriptionInfoWithTypeInfo
- Parameters:
typeInfos
- collection ofTypeInfo
. Can't benull
-
contains
public boolean contains(TypeItem type)
Description copied from class:TypeDescriptionInfo
Checks thattype
contains in this description- Specified by:
contains
in classTypeDescriptionInfo
- Parameters:
type
- checking type, can't benull
- Returns:
true
iftype
contains in this description,false
otherwise
-
-