Class TypeInfo
- java.lang.Object
-
- com._1c.g5.v8.dt.platform.core.typeinfo.TypeInfo
-
public class TypeInfo extends Object
Class wrapper of type and helper options of this type
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TypeInfo.TypeClassifiers
Class contains additional information aboutTypeInfo
priority - priority for the Type Chooser Dialog sigle - is type single strongSingle - is type strongSingle sysEnum - is system enumuration typeSet - is type TypeSet
-
Constructor Summary
Constructors Constructor Description TypeInfo(TypeItem type, TypeInfo.TypeClassifiers classifiers, org.eclipse.xtext.naming.QualifiedName code, org.eclipse.xtext.naming.QualifiedName codeRu, Environments environments)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
org.eclipse.xtext.naming.QualifiedName
getCode()
GetsTypeInfo.TypeClassifiers
corresponding totype
org.eclipse.xtext.naming.QualifiedName
getCodeRu()
Gets code corresponding totype
Environments
getEnvironments()
GetsEnvironments
oftype
int
getPriority()
Gets priority oftype
TypeItem
getType()
Gets actualTypeItem
TypeInfo.TypeClassifiers
getTypeClass()
GetsTypeInfo.TypeClassifiers
corresponding totype
int
hashCode()
boolean
isSingle()
Check thattype
is single typeboolean
isStrongSingle()
Check thattype
is strong single typeboolean
isSysEnum()
Check thattype
is system enumboolean
isTypePcOnly()
boolean
isTypeSet()
Check thattype
isTypSet
-
-
-
Constructor Detail
-
TypeInfo
public TypeInfo(TypeItem type, TypeInfo.TypeClassifiers classifiers, org.eclipse.xtext.naming.QualifiedName code, org.eclipse.xtext.naming.QualifiedName codeRu, Environments environments)
Constructor- Parameters:
type
-TypeItem
, can't benull
classifiers
-TypeInfo.TypeClassifiers
corresponding totype
, can't benull
name
- of type, can't benull
nameRu
- Russian name of the type
-
-
Method Detail
-
getTypeClass
public TypeInfo.TypeClassifiers getTypeClass()
GetsTypeInfo.TypeClassifiers
corresponding totype
- Returns:
TypeInfo.TypeClassifiers
, can't benull
-
getCode
public org.eclipse.xtext.naming.QualifiedName getCode()
GetsTypeInfo.TypeClassifiers
corresponding totype
- Returns:
TypeInfo.TypeClassifiers
, can't benull
-
getCodeRu
public org.eclipse.xtext.naming.QualifiedName getCodeRu()
Gets code corresponding totype
- Returns:
- type code
-
getPriority
public int getPriority()
Gets priority oftype
- Returns:
- priority
-
getEnvironments
public Environments getEnvironments()
GetsEnvironments
oftype
- Returns:
Environments
-
isTypeSet
public boolean isTypeSet()
Check thattype
isTypSet
- Returns:
true
iftype
is TypeSet,false
otherwise
-
isSysEnum
public boolean isSysEnum()
Check thattype
is system enum- Returns:
true
iftype
is system enum,false
otherwise
-
isSingle
public boolean isSingle()
Check thattype
is single type- Returns:
true
iftype
is single type,false
otherwise
-
isStrongSingle
public boolean isStrongSingle()
Check thattype
is strong single type- Returns:
true
iftype
is strong single type,false
otherwise
-
isTypePcOnly
public boolean isTypePcOnly()
- Returns:
- true if type in this typrInfo is for PC only
-
-