Package net.java.sip.communicator.service.protocol.ServerStoredDetails

Examples of net.java.sip.communicator.service.protocol.ServerStoredDetails.GenderDetail


                    accountInfoOpSet.addDetail(newLastNameDetail);
                else
                    accountInfoOpSet.replaceDetail( lastNameDetail,
                        newLastNameDetail);

                GenderDetail newGenderDetail
                    = new ServerStoredDetails.GenderDetail(gender);

                if (genderDetail == null)
                    accountInfoOpSet.addDetail(newGenderDetail);
                else
View Full Code Here


     * accountInfoOpSet belongs.
     */
    public static String getGender(
            OperationSetServerStoredAccountInfo accountInfoOpSet)
    {
        GenderDetail gender = null;
        Iterator<GenericDetail> genderDetails
            =  accountInfoOpSet.getDetails(GenderDetail.class);

        if (genderDetails.hasNext())
            gender = (GenderDetail) genderDetails.next();

        if(gender == null)
            return null;

        return gender.getGender();
    }
View Full Code Here

                    accountInfoOpSet.addDetail(newLastNameDetail);
                else
                    accountInfoOpSet.replaceDetail( lastNameDetail,
                        newLastNameDetail);

                GenderDetail newGenderDetail
                    = new ServerStoredDetails.GenderDetail(gender);

                if (genderDetail == null)
                    accountInfoOpSet.addDetail(newGenderDetail);
                else
View Full Code Here

TOP

Related Classes of net.java.sip.communicator.service.protocol.ServerStoredDetails.GenderDetail

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.