/** * Allocates the attribute objects for this class and adds them to the * attribute table. */ @Override protected void allocateAttributes() { super.allocateAttributes(); mechanismType = new LongAttribute(Attribute.MECHANISM_TYPE); putAttributesInTable(this); }
/** * Allocates the attribute objects for this class and adds them to the * attribute table. * * @preconditions * @postconditions */ @Override protected void allocateAttributes() { super.allocateAttributes(); keyType = new KeyTypeAttribute(); local = new BooleanAttribute(Attribute.LOCAL); putAttributesInTable(this); }
/** * Allocates the attribute objects for this class and adds them to the * attribute table. * * @preconditions * @postconditions */ @Override protected void allocateAttributes() { super.allocateAttributes(); value = new ByteArrayAttribute(Attribute.VALUE); valueLen = new LongAttribute(Attribute.VALUE_LEN); putAttributesInTable(this); }
/** * Allocates the attribute objects for this class and adds them to the * attribute table. * * @preconditions * @postconditions */ @Override protected void allocateAttributes() { super.allocateAttributes(); application = new CharArrayAttribute(Attribute.APPLICATION); objectID = new ByteArrayAttribute(Attribute.OBJECT_ID); value = new ByteArrayAttribute(Attribute.VALUE); putAttributesInTable(this); }
/** * Allocates the attribute objects for this class and adds them to the * attribute table. * * @preconditions * @postconditions */ @Override protected void allocateAttributes() { super.allocateAttributes(); resetOnInit = new BooleanAttribute(Attribute.RESET_ON_INIT); hasReset = new BooleanAttribute(Attribute.HAS_RESET); value = new ByteArrayAttribute(Attribute.VALUE); putAttributesInTable(this); }
/** * The overriding of this method should ensure that the objects of this * class work correctly in a hashtable. * * @return The hash code of this object. */ @Override public int hashCode() { return pixelX.hashCode() ^ pixelY.hashCode() ^ resolution.hashCode() ^ charRows.hashCode() ^ charColumns.hashCode() ^ color.hashCode() ^ bitsPerPixel.hashCode() ^ charSets.hashCode() ^ encodingMethods.hashCode() ^ mimeTypes.hashCode(); }
/** * Removes the attribute. * * @param attribute * the attribute identifier as a {@link long} value */ public void removeAttribute(long attribute) { getAttribute(attribute).setPresent(false); }
/** * Allocates the attribute objects for this class and adds them to the * attribute table. * * @preconditions * @postconditions */ @Override protected void allocateAttributes() { super.allocateAttributes(); hardwareFeatureType = new HardwareFeatureTypeAttribute(); putAttributesInTable(this); }
/** * Allocates the attribute objects for this class and adds them to the * attribute table. * * @preconditions * @postconditions */ @Override protected void allocateAttributes() { super.allocateAttributes(); value = new ByteArrayAttribute(Attribute.VALUE); putAttributesInTable(this); }
/** * Allocates the attribute objects for this class and adds them to the * attribute table. * * @preconditions * @postconditions */ @Override protected void allocateAttributes() { super.allocateAttributes(); ecdsaParams = new ByteArrayAttribute(Attribute.EC_PARAMS); ecPoint = new ByteArrayAttribute(Attribute.EC_POINT); putAttributesInTable(this); }
/** * Allocates the attribute objects for this class and adds them to the * attribute table. * * @preconditions * @postconditions */ @Override protected void allocateAttributes() { super.allocateAttributes(); ecdsaParams = new ByteArrayAttribute(Attribute.EC_PARAMS); value = new ByteArrayAttribute(Attribute.VALUE); putAttributesInTable(this); }
/** * Allocates the attribute objects for this class and adds them to the * attribute table. * * @preconditions * @postconditions */ protected void allocateAttributes() { objectClass = new ObjectClassAttribute(); putAttributesInTable(this); }
/** * The overriding of this method should ensure that the objects of this * class work correctly in a hashtable. * * @return The hash code of this object. * @preconditions * @postconditions */ @Override public int hashCode() { return resetOnInit.hashCode() ^ hasReset.hashCode() ^ value.hashCode(); }
/** * Default Constructor. * * @preconditions * @postconditions */ public ECPublicKey() { keyType.setLongValue(thisKeyType()); }
/** * Default Constructor. * * @preconditions * @postconditions */ public ECPrivateKey() { keyType.setLongValue(thisKeyType()); }
/** * The overriding of this method should ensure that the objects of this * class work correctly in a hashtable. * * @return The hash code of this object. * @preconditions * @postconditions */ @Override public int hashCode() { return token.hashCode() ^ private_.hashCode() ^ modifiable.hashCode() ^ label.hashCode(); }
/** * The overriding of this method should ensure that the objects of this * class work correctly in a hashtable. * * @return The hash code of this object. * @preconditions * @postconditions */ @Override public int hashCode() { return application.hashCode() ^ objectID.hashCode() ^ value.hashCode(); }