/** * {@inheritDoc} */ @Override public void setUpId( String upId ) { setUpId( upId, attributeType ); }
/** * {@inheritDoc} */ @Override public void setUpId( String upId ) { setUpId( upId, attributeType ); }
/** * Create a new instance of an Attribute, without value. * @param upId The user provided ID */ public DefaultAttribute( String upId ) { setUpId( upId ); }
/** * Sets the User Provided ID as a byte[] * * @param upId The User Provided ID */ public void setUpId( byte[] upId ) { setUpId( upId, attributeType ); }
/** * Create a new instance of an Attribute, without value. * @param upId The user provided ID */ public DefaultAttribute( String upId ) { setUpId( upId ); }
/** * Create a new instance of an Attribute, without value. * @param upId The user provided ID */ public DefaultAttribute( byte[] upId ) { setUpId( upId ); }
/** * Sets the User Provided ID as a byte[] * * @param upId The User Provided ID */ public void setUpId( byte[] upId ) { setUpId( upId, attributeType ); }
/** * Create a new instance of an Attribute, without value. * @param upId The user provided ID */ public DefaultAttribute( byte[] upId ) { setUpId( upId ); }
/** * Create a new instance of an Attribute, without value. * @param upId The user provided ID */ public DefaultAttribute( byte[] upId ) { setUpId( upId ); }
/** * Sets the User Provided ID as a byte[] * * @param upId The User Provided ID */ public void setUpId( byte[] upId ) { setUpId( upId, attributeType ); }
/** * Create a new instance of an Attribute, without value. * @param upId The user provided ID */ public DefaultAttribute( String upId ) { setUpId( upId ); }
/** * {@inheritDoc} */ @Override public void setUpId( String upId ) { setUpId( upId, attributeType ); }
/** * Create a new instance of an Attribute, with some String values, and a user provided ID. * * @param upId the ID of the created attribute * @param vals an initial set of String values for this attribute */ public DefaultAttribute( String upId, String... vals ) { try { add( vals ); } catch ( LdapInvalidAttributeValueException liave ) { // Do nothing, it can't happen } setUpId( upId ); }
/** * Create a new instance of an Attribute, with some String values, and a user provided ID. * * @param upId the ID of the created attribute * @param vals an initial set of String values for this attribute */ public DefaultAttribute( String upId, String... vals ) { try { add( vals ); } catch ( LdapInvalidAttributeValueException liave ) { // Do nothing, it can't happen } setUpId( upId ); }
/** * Create a new instance of an Attribute, with some binary values, and a user provided ID. * * @param upId the ID of the created attribute * @param vals an initial set of binary values for this attribute */ public DefaultAttribute( String upId, byte[]... vals ) { try { add( vals ); } catch ( LdapInvalidAttributeValueException liave ) { // Do nothing, this can't happen } setUpId( upId ); }
/** * Create a new instance of an Attribute, with some binary values, and a user provided ID. * * @param upId the ID of the created attribute * @param vals an initial set of binary values for this attribute */ public DefaultAttribute( String upId, byte[]... vals ) { try { add( vals ); } catch ( LdapInvalidAttributeValueException liave ) { // Do nothing, this can't happen } setUpId( upId ); }
/** * Create a new instance of an Attribute, with some String values, and a user provided ID. * * @param upId the ID of the created attribute * @param vals an initial set of String values for this attribute */ public DefaultAttribute( String upId, String... vals ) { try { add( vals ); } catch ( LdapInvalidAttributeValueException liave ) { // Do nothing, it can't happen } setUpId( upId ); }
/** * Create a new instance of an Attribute, with some binary values, and a user provided ID. * * @param upId the ID of the created attribute * @param vals an initial set of binary values for this attribute */ public DefaultAttribute( String upId, byte[]... vals ) { try { add( vals ); } catch ( LdapInvalidAttributeValueException liave ) { // Do nothing, this can't happen } setUpId( upId ); }
/** * Create a new instance of a schema aware Attribute, with some byte[] values, and * a user provided ID. * * @param upId the ID for the added attribute * @param attributeType the AttributeType to be added * @param vals the binary values for the added attribute * @throws LdapInvalidAttributeValueException If any of the * added values is not valid */ public DefaultAttribute( String upId, AttributeType attributeType, byte[]... vals ) throws LdapInvalidAttributeValueException { if ( attributeType == null ) { throw new IllegalArgumentException( I18n.err( I18n.ERR_13203_ATTRIBUTE_TYPE_NULL_NOT_ALLOWED ) ); } apply( attributeType ); add( vals ); setUpId( upId, attributeType ); }
/** * Create a new instance of a schema aware Attribute, with some byte[] values, and * a user provided ID. * * @param upId the ID for the added attribute * @param attributeType the AttributeType to be added * @param vals the binary values for the added attribute * @throws LdapInvalidAttributeValueException If any of the * added values is not valid */ public DefaultAttribute( String upId, AttributeType attributeType, byte[]... vals ) throws LdapInvalidAttributeValueException { if ( attributeType == null ) { throw new IllegalArgumentException( I18n.err( I18n.ERR_13203_ATTRIBUTE_TYPE_NULL_NOT_ALLOWED ) ); } apply( attributeType ); add( vals ); setUpId( upId, attributeType ); }