/** * Allocates the attribute objects for this class and adds them to the attribute table. * * @preconditions * @postconditions */ protected void allocateAttributes() { super.allocateAttributes(); value_ = new ByteArrayAttribute(Attribute.VALUE); putAttributesInTable(this); }
/** * Read the values of the attributes of this object from the token. * * @param session The session handle to use for reading attributes. This session must have the * appropriate rights; i.e. it must be a user-session, if it is a private object. * @exception TokenException If getting the attributes failed. * @preconditions (session <> null) * @postconditions */ public void readAttributes(Session session) throws TokenException { super.readAttributes(session); Object.getAttributeValue(session, objectHandle_, value_); }