Package com.ibm.sbt.services.client.connections.activities

Examples of com.ibm.sbt.services.client.connections.activities.PersonField


        Element link = element(Namespace.ATOM.getUrl(), "link",
            attribute("href", linkField.getLink().getHref()),
            attribute("title", linkField.getLink().getTitle()));
        appendChildren(element, link);
      } else if (field instanceof PersonField) {
        PersonField personField = (PersonField)field;
        Element name = addText(element(Namespace.ATOM.getUrl(), "name"), personField.getPerson().getName());
        Element email = addText(element(Namespace.ATOM.getUrl(), "email"), personField.getPerson().getEmail());
        Element userid = addText(element(Namespace.SNX.getUrl(), "userid"), personField.getPerson().getUserid());
                if (personField.getPerson().getEmail() != null) {
                    appendChildren(element, name, email, userid);
                } else {
                    appendChildren(element, name, userid);
                };
      } else if (field instanceof TextField) {
View Full Code Here

TOP

Related Classes of com.ibm.sbt.services.client.connections.activities.PersonField

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.