Examples of ContactInfo


Examples of com.sun.corba.se.pept.transport.ContactInfo

    protected void addRemoteContactInfos(
        IOR  effectiveTargetIOR,
        List effectiveTargetIORContactInfoList)
    {
        ContactInfo contactInfo;
        List socketInfos = orb.getORBData()
            .getIORToSocketInfo().getSocketInfo(effectiveTargetIOR);
        Iterator iterator = socketInfos.iterator();
        while (iterator.hasNext()) {
            SocketInfo socketInfo = (SocketInfo) iterator.next();
View Full Code Here

Examples of it.freedomotic.gwtclient.client.widgets.ContactDatabase.ContactInfo

        });
        createButton.addClickHandler(new ClickHandler() {
            public void onClick(ClickEvent event) {
                int categoryIndex = categoryBox.getSelectedIndex();
                Category category = categories[categoryIndex];
                contactInfo = new ContactInfo(category);
                contactInfo.setFirstName(firstNameBox.getText());
                contactInfo.setLastName(lastNameBox.getText());
                contactInfo.setAddress(addressBox.getText());
                contactInfo.setBirthday(birthdayBox.getValue());
                ContactDatabase.get().addContact(contactInfo);
View Full Code Here

Examples of it.freedomotic.gwtclient.client.widgets.ContactDatabase.ContactInfo

    });
    createButton.addClickHandler(new ClickHandler() {
      public void onClick(ClickEvent event) {
        int categoryIndex = categoryBox.getSelectedIndex();
        Category category = categories[categoryIndex];
        contactInfo = new ContactInfo(category);
        contactInfo.setFirstName(firstNameBox.getText());
        contactInfo.setLastName(lastNameBox.getText());
        contactInfo.setAddress(addressBox.getText());
        contactInfo.setBirthday(birthdayBox.getValue());
        ContactDatabase.get().addContact(contactInfo);
View Full Code Here

Examples of org.apache.hadoop.hive.hbase.avro.ContactInfo

    OfficePhone oPhone = new OfficePhone();

    oPhone.setAreaCode(999L);
    oPhone.setNumber(1234455555L);

    ContactInfo contact = new ContactInfo();

    List<Address> addresses = new ArrayList<Address>();
    address.setCounty(hPhone); // set value for the union type
    addresses.add(address);
    addresses.add(address);

    contact.setAddress(addresses);

    contact.setHomePhone(hPhone);
    contact.setOfficePhone(oPhone);

    employee.setContactInfo(contact);

    DatumWriter<Employee> datumWriter = new SpecificDatumWriter<Employee>(Employee.class);
    DataFileWriter<Employee> dataFileWriter = new DataFileWriter<Employee>(datumWriter);
View Full Code Here

Examples of org.apache.hadoop.hive.hbase.avro.ContactInfo

    OfficePhone oPhone = new OfficePhone();

    oPhone.setAreaCode(999L);
    oPhone.setNumber(1234455555L);

    ContactInfo contact = new ContactInfo();

    List<Address> addresses = new ArrayList<Address>();
    address.setCounty(hPhone); // set value for the union type
    addresses.add(address);
    addresses.add(address);

    contact.setAddress(addresses);

    contact.setHomePhone(hPhone);
    contact.setOfficePhone(oPhone);

    employee.setContactInfo(contact);

    DatumWriter<Employee> employeeWriter = new SpecificDatumWriter<Employee>(Employee.class);
View Full Code Here

Examples of org.apache.openjpa.persistence.datacache.entities.ContactInfo

    Person loadPerson() {
        Person p = null;
        EntityManager em = emf.createEntityManager();
        try {
            p = new Person();
            ContactInfo ci = new ContactInfo();
            Phone phone = new Phone();

            p.setCi(ci);
            ci.setPhone(phone);
            phone.setOwner(p);

            p.setFirst("first");
            p.setMiddle("middle");
            p.setLast("last");

            phone.setNumber("507-555-1076");
            phone.setSomethingElse("something-" + System.currentTimeMillis());

            ci.setCity("cittttY");
            ci.setStreet("street-" + System.currentTimeMillis());
            ci.setZip("90210");

            em.getTransaction().begin();
            em.persist(p);
            em.persist(phone);
            em.getTransaction().commit();
View Full Code Here

Examples of org.geoserver.config.ContactInfo

        wmsInfo.getKeywords().add("k2");
        // @REVISIT: this is not being respected, but the onlineresource is being set based on the
        // proxyBaseUrl... not sure if that's correct
        wmsInfo.setOnlineResource("http://onlineresource/fake");

        ContactInfo contactInfo = new ContactInfoImpl();
        geosInfo.setContact(contactInfo);
        contactInfo.setContactPerson("contactPerson");
        contactInfo.setContactOrganization("contactOrganization");
        contactInfo.setContactPosition("contactPosition");
        contactInfo.setAddress("address");
        contactInfo.setAddressType("addressType");
        contactInfo.setAddressCity("city");
        contactInfo.setAddressState("state");
        contactInfo.setAddressPostalCode("postCode");
        contactInfo.setAddressCountry("country");
        contactInfo.setContactVoice("voice");
        contactInfo.setContactEmail("email");
        contactInfo.setContactFacsimile("fax");

        wmsInfo.setFees("fees");
        wmsInfo.setAccessConstraints("accessConstraints");

        WMSCapsTransformer tr = new WMSCapsTransformer(baseUrl, mapFormats, legendFormats);
View Full Code Here

Examples of org.geoserver.config.ContactInfo

        }
        if (!(obj instanceof ContactInfo)) {
            return false;
        }

        final ContactInfo other = (ContactInfo) obj;

        if (!(compare(getId(), other.getId())))
            return false;
        if (!(compare(getAddress(), other.getAddress())))
            return false;
        if (!(compare(getAddressCity(), other.getAddressCity())))
            return false;
        if (!(compare(getAddressCountry(), other.getAddressCountry())))
            return false;
        if (!(compare(getAddressPostalCode(), other.getAddressPostalCode())))
            return false;
        if (!(compare(getAddressState(), other.getAddressState())))
            return false;
        if (!(compare(getAddressType(), other.getAddressType())))
            return false;
        if (!(compare(getContactEmail(), other.getContactEmail())))
            return false;
        if (!(compare(getContactFacsimile(), other.getContactFacsimile())))
            return false;
        if (!(compare(getContactOrganization(), other.getContactOrganization())))
            return false;
        if (!(compare(getContactPerson(), other.getContactPerson())))
            return false;
        if (!(compare(getContactPosition(), other.getContactPosition())))
            return false;
        if (!(compare(getContactVoice(), other.getContactVoice())))
            return false;
        if (!(compare(getOnlineResource(), other.getOnlineResource())))
            return false;

        return true;
    }
View Full Code Here

Examples of org.geoserver.config.ContactInfo

        global2.setTitle("subst'ed global "
                + DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.FULL).format(
                        new Date()));

        global2.setAdminPassword("secret");
        ContactInfo contactInfo = geoServer.getFactory().createContact();
        contactInfo.setAddress("the address");
        contactInfo.setAddressCity("the city");
        global2.setContact(contactInfo);
        geoServer.setGlobal(global2);

        endTransaction();
        startNewTransaction();

        GeoServerInfo globalZ = geoServer.getGlobal();

        String globalDebugDiff = ((GeoServerInfoImplHb) global2).getFirstDiff(globalZ);
        if (globalDebugDiff != null)
            Logging.getLogger(this.getClass()).severe("Globals do not match: " + globalDebugDiff);

        assertEquals(global2, globalZ);

        ContactInfo contactInfoZ = globalZ.getContact();
        assertEquals("Contacts differ", global2.getContact(), contactInfoZ);
        // assertEquals(global2, globalZ);
    }
View Full Code Here

Examples of org.geoserver.config.ContactInfo

*/
public class GeoServerHomePage extends GeoServerBasePage {

    public GeoServerHomePage() {
        GeoServer gs = getGeoServer();
        ContactInfo contact = gs.getGlobal().getContact();

        //add some contact info
        add(new ExternalLink("contactURL", contact.getOnlineResource())
            .add( new Label("contactName", contact.getContactOrganization())));
        {
            String version = String.valueOf(new ResourceModel("version").getObject());
            String contactEmail = contact.getContactEmail();
            HashMap<String, String>params = new HashMap<String, String>();
            params.put("version", version);
            params.put("contactEmail", contactEmail);
            Label label = new Label("footerMessage", new StringResourceModel("GeoServerHomePage.footer", this, new Model(params)));
            label.setEscapeModelStrings(false);
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.