2.16. Pohled "UNI_ENUMVAL_VW"
název sloupce | Typ | výchozí | upravitelný |
---|
RADDR | NUMBER ( 22 ) | | Ne |
TP | CHAR ( 1 ) | | Ne |
PARENT_TP | CHAR ( 1 ) | | Ne |
ID | NUMBER ( 22 ) | | Ne |
PARENT_ID | NUMBER ( 22 ) | | Ne |
VISIBLE | CHAR ( 4 ) | | Ne |
CLASSTYPE | VARCHAR2 ( 0 ) | | Ne |
OBJLVL | NUMBER ( 22 ) | | Ne |
OBJTYPE | CHAR ( 7 ) | | Ne |
NAME | VARCHAR2 ( 400 ) | | Ne |
DEF | VARCHAR2 ( 4000 ) | | Ne |
DEF50 | VARCHAR2 ( 4000 ) | | Ne |
DEF100 | VARCHAR2 ( 4000 ) | | Ne |
IFCIDENT | VARCHAR2 ( 0 ) | | Ne |
DATAUNIT | VARCHAR2 ( 0 ) | | Ne |
DATATYPESPEC | VARCHAR2 ( 0 ) | | Ne |
DATATYPE | VARCHAR2 ( 0 ) | | Ne |
IFCTYPE | VARCHAR2 ( 0 ) | | Ne |
LINK_URL | VARCHAR2 ( 0 ) | | Ne |
select
10*E.ID+case E.Type when 'DataType' then 7 when 'EnumDataType' then 8 when 'SimpleDataType' then 9 else 0 end Raddr, -- 7 ~ T ... data type 8 ~ E ... enum 9 ~ U ... unit
'E' Tp,
'P' Parent_Tp,
E.ID,
P.ID Parent_ID,
'IPSZ' Visible,
null ClassType,
--
7 ObjLvl,
'Hodnota' ObjType,
--
coalesce(E.Name_CZ,E.Name) Name,
coalesce(E.Definition_CZ,E.Definition) Def,
case when length(coalesce(E.Definition_CZ,E.Definition))>50 then rtrim(substr(coalesce(E.Definition_CZ,E.Definition),1,47))||'...' else coalesce(E.Definition_CZ,E.Definition) end Def50,
case when length(coalesce(E.Definition_CZ,E.Definition))>100 then rtrim(substr(coalesce(E.Definition_CZ,E.Definition),1,97))||'...' else coalesce(E.Definition_CZ,E.Definition) end Def100,
-- class
null IfcIdent,
--null Repres,
--null IfcRepres,
--null Prec,
--null PrecV,
--null Precision,
-- property
null DataUnit,
null DataTypeSpec,
null DataType,
null IfcType,
--null EnumValues,
null Link_URL
from
IFC_Property P,
ENUM_List E
where P.Visible is not null
and P.is_Enum='Y'
and E.Type='EnumDataType'
and E.SubType=P.DataType