ENTITY file ABSTRACT SUPERTYPE OF (ONEOF (digital_file, hardcopy)) SUBTYPE OF (document_file); version : OPTIONAL STRING; contained_data_type : OPTIONAL STRING; DERIVE SELF\characterized_object.name : label := ''; SELF\characterized_object.description : text := ?; SELF\document.kind : document_type := ?; SELF\document.description : text := ?; SELF\document.name : label := ?; END_ENTITY; -- file |
Entity data types and their attributesdocumentid: identifier; name: label; (OPT) description: text; kind: document_type; (INV) representation_types: SET [0:?] OF document_representation_type FOR represented_document; characterized_object name: label; (OPT) description: text; document_file - file (OPT) version: STRING; (OPT) contained_data_type: STRING; (RT) (DER) name: label; (RT) (DER) description: text; (RT) (DER) kind: document_type; (RT) (DER) description: text; (RT) (DER) name: label; |
digital_file (FILE_IDENTIFICATION_XIM) |
hardcopy (FILE_IDENTIFICATION_XIM) |
Global rules for this entity data type- |
public interface EFile extends EDocument_fileversion (explicit attribute)boolean testVersion(EFile type)String getVersion(EFile type) void setVersion(EFile type, String value) void unsetVersion(EFile type) contained_data_type (explicit attribute)boolean testContained_data_type(EFile type)String getContained_data_type(EFile type) void setContained_data_type(EFile type, String value) void unsetContained_data_type(EFile type) |
public class CFile implements EFilestatic EAttribute attributeVersion(EFile type)static EAttribute attributeContained_data_type(EFile type) static EAttribute attributeName(EFile type) static EAttribute attributeDescription(EFile type) static EAttribute attributeKind(EFile type) static int usedinKind(EFile type, EDocument_type instance, ASdaiModel domain, AFile result) static EAttribute attributeDescription(EFile type) static EAttribute attributeName(EFile type) |
public class AFile extends AEntitypublic EFile getByIndex(int index)public EFile getCurrentMember(SdaiIterator it) |