Examples of GenderDetail


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

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

     * 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

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
TOP
Copyright © 2018 www.massapi.com. 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.