()
| 189 | } |
| 190 | |
| 191 | func (a attributeType) String() string { |
| 192 | switch a { |
| 193 | case attributeDataTypeDecimal: |
| 194 | return "decimal" |
| 195 | case attributeDataTypeInteger: |
| 196 | return "integer" |
| 197 | case attributeDataTypeBinary: |
| 198 | return "binary" |
| 199 | case attributeDataTypeBoolean: |
| 200 | return "boolean" |
| 201 | case attributeDataTypeComplex: |
| 202 | return "complex" |
| 203 | case attributeDataTypeDateTime: |
| 204 | return "dateTime" |
| 205 | case attributeDataTypeReference: |
| 206 | return "reference" |
| 207 | default: |
| 208 | return "string" |
| 209 | } |
| 210 | } |
| 211 | |
| 212 | type attributeUniqueness int |
| 213 |
no outgoing calls