Examples of Location


Examples of net.sf.l2j.gameserver.model.Location

      private int _hp;

      public SiegeSpawn(int castle_id, int x, int y, int z, int heading, int npc_id)
      {
        _castleId = castle_id;
        _location = new Location(x,y,z,heading);
        _heading = heading;
        _npcId = npc_id;
      }
View Full Code Here

Examples of net.virtuemart.www.customers.Location

    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof Location)) {
            return false;
        }
        Location other = (Location) obj;
        if (obj == null) {
            return false;
        }
        if (this == obj) {
            return true;
        }
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true &&
                ((this.address1 == null && other.getAddress1() == null) ||
                (this.address1 != null &&
                this.address1.equals(other.getAddress1()))) &&
                ((this.address2 == null && other.getAddress2() == null) ||
                (this.address2 != null &&
                this.address2.equals(other.getAddress2()))) &&
                ((this.businessPartnerId == null && other.getBusinessPartnerId() == null) ||
                (this.businessPartnerId != null &&
                this.businessPartnerId.equals(other.getBusinessPartnerId()))) &&
                ((this.city == null && other.getCity() == null) ||
                (this.city != null &&
                this.city.equals(other.getCity()))) &&
                ((this.clientId == null && other.getClientId() == null) ||
                (this.clientId != null &&
                this.clientId.equals(other.getClientId()))) &&
                ((this.country == null && other.getCountry() == null) ||
                (this.country != null &&
                this.country.equals(other.getCountry()))) &&
                ((this.id == null && other.getId() == null) ||
                (this.id != null &&
                this.id.equals(other.getId()))) &&
                ((this.postal == null && other.getPostal() == null) ||
                (this.postal != null &&
                this.postal.equals(other.getPostal()))) &&
                ((this.region == null && other.getRegion() == null) ||
                (this.region != null &&
                this.region.equals(other.getRegion())));
        __equalsCalc = null;
        return _equals;
    }
View Full Code Here

Examples of net.yacy.document.geolocalization.Location

                    for (int i = 0; i < wordlist.length - 2; i++) locations.addAll(LibraryProvider.geoLoc.find(wordlist[i] + space + wordlist[i + 1] + space + wordlist[i + 2], true));
                   
                    // add locations from metatag
                    if (metatag) {
                        if (message.getLat() != 0.0f && message.getLon() != 0.0f) {
                            locations.add(new Location(message.getLon(), message.getLat(), message.getTitle().trim()));
                        }
                    }
                   
                    for (Location location: locations) {
                        // write for all locations a point to this message
View Full Code Here

Examples of nu.validator.source.Location

            imageReviewHandler.startImageGroup(heading, instruction, hasAlt);
            for (Image image : list) {
                String systemId = image.getSystemId();
                int oneBasedLine = image.getLineNumber();
                int oneBasedColumn = image.getColumnNumber();
                Location rangeLast = sourceCode.newLocatorLocation(oneBasedLine,
                        oneBasedColumn);
                if (sourceCode.isWithinKnownSource(rangeLast)) {
                    Location rangeStart = sourceCode.rangeStartForRangeLast(rangeLast);
                    imageReviewHandler.image(image, hasAlt, systemId, rangeStart.getLine() + 1,
                            rangeStart.getColumn() + 1, oneBasedLine, oneBasedColumn);
                } else {
                    imageReviewHandler.image(image, hasAlt, systemId, -1,
                            -1, -1, -1);                    
                }
            }
View Full Code Here

Examples of org.adfemg.datacontrol.demo.persist.Location

    }

    private List<Location> locations(List<Map<String, String>> values) {
        List<Location> retval = new ArrayList<Location>(values.size());
        for (Map<String,String> val : values) {
            Location loc = new Location();
            loc.setId(Long.valueOf(val.get("LOCATION_ID")));
            loc.setStreetAddress(val.get("STREET_ADDRESS"));
            loc.setPostalCode(val.get("POSTAL_CODE"));
            loc.setCity(val.get("CITY"));
            loc.setStateprovince(val.get("STATE_PROVINCE"));
            loc.setCountry(val.get("COUNTRY_ID"));
            retval.add(loc);
        }
        return retval;
    }
View Full Code Here

Examples of org.adfemg.hr.Location

    public static Location toSOA(org.adfemg.datacontrol.demo.persist.Location location) {
        if (location == null) {
            return null;
        }
        Location retval  = new Location();
        retval.setId(toSOA(location.getId()));
        retval.setStreetAddress(location.getStreetAddress());
        retval.setPostalCode(location.getPostalCode());
        retval.setCity(location.getCity());
        retval.setStateprovince(location.getStateprovince());
        retval.setCountry(location.getCountry());
        return retval;
    }
View Full Code Here

Examples of org.apache.activeio.journal.active.Location

            messageContainer.put(id.toString(), messageReference);
        }
    }
   
    static protected String toString(RecordLocation location) {
        Location l = (Location) location;
        return l.getLogFileId()+":"+l.getLogFileOffset();
    }
View Full Code Here

Examples of org.apache.activemq.kaha.impl.async.Location

        ack.setMessageId(messageId);
        ack.setMessageSequenceId(messageId.getBrokerSequenceId());
        ack.setSubscritionName(subscriptionName);
        ack.setClientId(clientId);
        ack.setTransactionId(context.getTransaction() != null ? context.getTransaction().getTransactionId() : null);
        final Location location = peristenceAdapter.writeCommand(ack, false);
        final SubscriptionKey key = new SubscriptionKey(clientId, subscriptionName);
        if (!context.isInTransaction()) {
            if (debug) {
                LOG.debug("Journalled acknowledge for: " + messageId + ", at: " + location);
            }
View Full Code Here

Examples of org.apache.activemq.store.kahadb.disk.journal.Location

        }
        return range;
    }

    private void trackMaxAndMin(Location[] range, List<Operation> ops) {
        Location t = ops.get(0).getLocation();
        if (range[0]==null || t.compareTo(range[0]) <= 0) {
            range[0] = t;
        }
        t = ops.get(ops.size() -1).getLocation();
        if (range[1]==null || t.compareTo(range[1]) >= 0) {
            range[1] = t;
        }
    }
View Full Code Here

Examples of org.apache.axis2.mex.om.Location

        mexNamespaceValue);

    if (outputForm == OutputForm.INLINE_FORM)
      section.setinlineData(result);
    else if (outputForm == OutputForm.LOCATION_FORM)
      section.setLocation(new Location(factory, mexNamespaceValue,
          (String) result));
    else if (outputForm == OutputForm.REFERENCE_FORM) {
      MetadataReference ref = new MetadataReference(factory,
          mexNamespaceValue);
     
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.