ENTITY bytes_representation_item SUBTYPE OF (binary_representation_item); DERIVE no_of_bytes : INTEGER := BLENGTH(SELF\binary_representation_item.binary_value) DIV 8; WHERE wr1: BLENGTH(SELF\binary_representation_item.binary_value) MOD 8 = 0; END_ENTITY; -- bytes_representation_item |
Entity data types and their attributesrepresentation_itemname: label; binary_representation_item binary_value: BINARY; bytes_representation_item (DER) no_of_bytes: INTEGER; |
picture_representation_item (PICTURE_REPRESENTATION_MIM) |
Global rules for this entity data type- |
public interface EBytes_representation_item extends EBinary_representation_itemno_of_bytes (derived attribute)int getNo_of_bytes(EBytes_representation_item type)boolean testNo_of_bytes(EBytes_representation_item type) |
public class CBytes_representation_item implements EBytes_representation_itemstatic EAttribute attributeNo_of_bytes(EBytes_representation_item type) |
public class ABytes_representation_item extends AEntitypublic EBytes_representation_item getByIndex(int index)public EBytes_representation_item getCurrentMember(SdaiIterator it) |