public static Object getWritePart ( final Object array , final AttrWriteType writeType ) { if ( writeType . equals ( AttrWriteType . READ_WRITE ) ) { return Array . get ( array , 1 ) ; } else { return Array . get ( array , 0 ) ; } }
Extract the write part of a scalar attribute