question: final private String classDef2ObjectDesc ( Attributes attrs ) throws NamingException { StringBuffer objectDesc = new StringBuffer ( "( " ) ; Attribute attr = null ; int count = 0 ; attr = attrs . get ( NUMERICOID_ID ) ; if ( attr != null ) { objectDesc . append ( writeNumericOID ( attr ) ) ; count ++ ; } else { throw new ConfigurationException ( "Class definition doesn't" + "have a numeric OID" ) ; } attr = attrs . get ( NAME_ID ) ; if ( attr != null ) { objectDesc . append ( writeQDescrs ( attr ) ) ; count ++ ; } attr = attrs . get ( DESC_ID ) ; if ( attr != null ) { objectDesc . append ( writeQDString ( attr ) ) ; count ++ ; } attr = attrs . get ( OBSOLETE_ID ) ; if ( attr != null ) { objectDesc . append ( writeBoolean ( attr ) ) ; count ++ ; } attr = attrs . get ( SUP_ID ) ; if ( attr != null ) { objectDesc . append ( writeOIDs ( attr ) ) ; count ++ ; } attr = attrs . get ( ABSTRACT_ID ) ; if ( attr != null ) { objectDesc . append ( writeBoolean ( attr ) ) ; count ++ ; } attr = attrs . get ( STRUCTURAL_ID ) ; if ( attr != null ) { objectDesc . append ( writeBoolean ( attr ) ) ; count ++ ; } attr = attrs . get ( AUXILARY_ID ) ; if ( attr != null ) { objectDesc . append ( writeBoolean ( attr ) ) ; count ++ ; } attr = attrs . get ( MUST_ID ) ; if ( attr != null ) { objectDesc . append ( writeOIDs ( attr ) ) ; count ++ ; } attr = attrs . get ( MAY_ID ) ; if ( attr != null ) { objectDesc . append ( writeOIDs ( attr ) ) ; count ++ ; } if ( count < attrs . size ( ) ) { String attrId = null ; for ( NamingEnumeration < ? extends Attribute > ae = attrs . getAll ( ) ; ae . hasMoreElements ( ) ; ) { attr = ae . next ( ) ; attrId = attr . getID ( ) ; if ( attrId . equals ( NUMERICOID_ID ) || attrId . equals ( NAME_ID ) || attrId . equals ( SUP_ID ) || attrId . equals ( MAY_ID ) || attrId . equals ( MUST_ID ) || attrId . equals ( STRUCTURAL_ID ) || attrId . equals ( DESC_ID ) || attrId . equals ( AUXILARY_ID ) || attrId . equals ( ABSTRACT_ID ) || attrId . equals ( OBSOLETE_ID ) ) { continue ; } else { objectDesc . append ( writeQDStrings ( attr ) ) ; } } } objectDesc . append ( ")" ) ; return objectDesc . toString ( ) ; }
target:  Translate attributes that describe an object class into the string description as defined in RFC 2252.