Examples of Entry

@author Portet to jme3 by user starcom "Paul Kashofer Austria" @see ImageGraphics
  • com.liferay.docs.guestbook.model.Entry
  • com.liferay.docs.guestbook.wrappers.Entry
    @author Vernon Singleton
  • com.microsoft.windowsazure.services.servicebus.implementation.Entry
  • com.netflix.staash.mesh.db.Entry
  • com.netflix.zeno.fastblob.state.WeakObjectOrdinalMap.Entry
  • com.opengamma.engine.function.blacklist.FunctionBlacklistPolicy.Entry
  • com.pc.dailymile.domain.Entry
  • com.philip.journal.home.bean.Entry
    Represents a journal entry in Journal Application.
  • com.rometools.rome.feed.atom.Entry
    Bean for entry elements of Atom feeds.

    @author Alejandro Abdelnur @author Dave Johnson (updated for Atom 1.0)

  • com.sleepycat.je.rep.stream.Protocol.Entry
  • com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.model.BuildMemory.MemoryImprint.Entry
  • com.sun.java.util.jar.pack.ConstantPool.Entry
  • com.sun.syndication.feed.atom.Entry
    Bean for entry elements of Atom feeds.

    @author Alejandro Abdelnur @author Dave Johnson (updated for Atom 1.0)

  • com.thinkaurelius.titan.diskstorage.keycolumnvalue.Entry
    An entry is the primitive persistence unit used in the graph database storage backend.

    An entry consists of a column and value both of which are general {@link java.nio.ByteBuffer}s. The value may be null but the column may not. @author Matthias Bröcheler (me@matthiasb.com);

  • com.unboundid.ldap.sdk.Entry
  • com.volantis.devrep.repository.api.devices.logging.Entry
    Base class for log entries.
  • cuchaz.enigma.mapping.Entry
  • cx.ath.troja.chordless.dhash.Entry
  • de.lmu.ifi.dbs.elki.index.tree.Entry
    Defines the requirements for an entry in an index structure. An entry can represent a node or a data object. @author Elke Achtert
  • es.java.otro.model.Entry
  • evolaris.framework.smsservices.business.Entry
  • fr.soleil.lib.flyscan.model.parsing.configuration.Entry
    Entry: pair of key and value within an EntryContainer @author guerre-giordano
  • hermes.xml.Entry
    3.org/2001/XMLSchema}anyType"> <sequence> <element name="textMessage" type="{}XMLTextMessage" minOccurs="0"/> <element name="mapMessage" type="{}XMLMapMessage" minOccurs="0"/> <element name="objectMessage" type="{}XMLObjectMessage" minOccurs="0"/> <element name="bytesMessage" type="{}XMLBytesMessage" minOccurs="0"/> </sequence> <attribute name="user" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="time" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="session" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="destination" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}int" /> </restriction> </complexContent> </complexType>
  • hudson.scm.ChangeLogSet.Entry
  • hudson.slaves.EnvironmentVariablesNodeProperty.Entry
  • it.unimi.dsi.fastutil.longs.Long2IntMap.Entry
  • it.unisa.info13d.Login.Entry
    Classe che rappresenta un utente all'interno del "database" su disco.
  • java.util.Map.Entry
  • lupos.optimizations.logical.statistics.Entry
  • mondrian.util.LockBox.Entry
  • name.abuchen.portfolio.ui.Sidebar.Entry
  • net.caprazzi.keez.Keez.Entry
  • net.jini.core.entry.Entry
    This class is the supertype of all entries that can be stored in a Jini Lookup service.

    Each field of an entry must be a public reference (object) type. You cannot store primitive types in fields of an Entry. An Entry may have any number of methods or constructors. Each field is serialized separately, so references between two fields of an entry will not be reconstituted to be shared references, but instead to separate copies of the original object. @author Sun Microsystems, Inc. @see net.jini.core.lookup.ServiceRegistrar @since 1.0

  • net.kuujo.copycat.log.Entry
    com/kuujo">Jordan Halterman
  • net.noderunner.amazon.s3.Entry
    A structure representing a single object stored in S3.
  • net.sf.cram.index.CramIndex.Entry
  • net.sf.joafip.entity.BobInnerClass.Entry
  • net.xeoh.plugins.diagnosis.local.impl.serialization.java.Entry
    Reflects an entry on a given channel. @author Ralf Biedert
  • net.yacy.kelondro.index.Row.Entry
  • opennlp.tools.dictionary.serializer.Entry
    An {@link Entry} is a {@link StringList} which canoptionally be mapped to attributes. {@link Entry}s is a read and written by the {@link DictionarySerializer}. @see DictionarySerializer @see Attributes
  • org.amdatu.web.resourcehandler.util.ResourceKeyParser.Entry
  • org.apache.abdera.model.Entry

    Represents an Atom Entry element.

    Per RFC4287:

     The "atom:entry" element represents an individual entry, acting as a container for metadata and data associated with the entry.  This element can appear as a child of the atom:feed element, or it can appear as the document (i.e., top-level) element of a stand-alone Atom Entry Document. atomEntry = element atom:entry { atomCommonAttributes, (atomAuthor & atomCategory & atomContent? & atomContributor & atomId & atomLink & atomPublished? & atomRights? & atomSource? & atomSummary? & atomTitle & atomUpdated & extensionElement*) } This specification assigns no significance to the order of appearance of the child elements of atom:entry. The following child elements are defined by this specification (note that it requires the presence of some of these elements): o  atom:entry elements MUST contain one or more atom:author elements, unless the atom:entry contains an atom:source element that contains an atom:author element or, in an Atom Feed Document, the atom:feed element contains an atom:author element itself. o  atom:entry elements MAY contain any number of atom:category elements. o  atom:entry elements MUST NOT contain more than one atom:content element. o  atom:entry elements MAY contain any number of atom:contributor elements. o  atom:entry elements MUST contain exactly one atom:id element. o  atom:entry elements that contain no child atom:content element MUST contain at least one atom:link element with a rel attribute value of "alternate". o  atom:entry elements MUST NOT contain more than one atom:link element with a rel attribute value of "alternate" that has the same combination of type and hreflang attribute values. o  atom:entry elements MAY contain additional atom:link elements beyond those described above. o  atom:entry elements MUST NOT contain more than one atom:published element. o  atom:entry elements MUST NOT contain more than one atom:rights element. o  atom:entry elements MUST NOT contain more than one atom:source element. o  atom:entry elements MUST contain an atom:summary element in either of the following cases: *  the atom:entry contains an atom:content that has a "src" attribute (and is thus empty). *  the atom:entry contains content that is encoded in Base64; i.e., the "type" attribute of atom:content is a MIME media type [MIMEREG], but is not an XML media type [RFC3023], does not begin with "text/", and does not end with "/xml" or "+xml". o  atom:entry elements MUST NOT contain more than one atom:summary element. o  atom:entry elements MUST contain exactly one atom:title element. o  atom:entry elements MUST contain exactly one atom:updated element. 
  • org.apache.archiva.rest.api.model.Entry
    use for REST services returning Map to get a more easy way to parse json result @author Olivier Lamy @since 1.4-M3
  • org.apache.aries.samples.blog.api.persistence.Entry
  • org.apache.aurora.scheduler.log.Log.Entry
  • org.apache.catalina.valves.TesterAccessLogValve.Entry
  • org.apache.commons.math.linear.RealVector.Entry
  • org.apache.commons.math3.linear.RealVector.Entry
    Weight matrix of the residuals between model and observations.
    Immutable class. @version $Id: Weight.java 1416643 2012-12-03 19:37:14Z tn $ @since 3.1
  • org.apache.directory.api.ldap.model.entry.Entry

    This interface represent a LDAP entry. An LDAP entry contains :

  • A distinguished name (Dn)
  • A list of attributes
  • The available methods on this object are described in this interface.

    This interface is used by the serverEntry and clientEntry interfaces.

    @author Apache Directory Project
  • org.apache.directory.ldapstudio.browser.core.internal.model.Entry
  • org.apache.directory.shared.ldap.entry.Entry
  • org.apache.directory.shared.ldap.model.entry.Entry

    This interface represent a LDAP entry. An LDAP entry contains :

  • A distinguished name (Dn)
  • A list of attributes
  • The available methods on this object are described in this interface.

    This interface is used by the serverEntry and clientEntry interfaces.

    @author Apache Directory Project
  • org.apache.directory.studio.ldapbrowser.core.internal.model.Entry
  • org.apache.directory.studio.ldapbrowser.core.model.impl.Entry
    The Entry class represents an entry with a logical parent entry. @author Apache Directory Project
  • org.apache.forrest.yer.hierarchy.Entry
    Interface org.apache.forrest.yer.hierarchy.Entry defines what information Entry's should be able to provide. @author $Author: jefft $ @version CVS $Id: Entry.java,v 1.3 2002/11/05 05:52:40 jefft Exp $
  • org.apache.hadoop.hbase.regionserver.wal.HLog.Entry
  • org.apache.hadoop.io.file.tfile.TFile.Reader.Scanner.Entry
  • org.apache.hadoop.zebra.tfile.TFile.Reader.Scanner.Entry
  • org.apache.jetspeed.deployment.simpleregistry.Entry

    Entry

    Simple data type representing some regitered resource. @author Scott T. Weaver @version $Id: Entry.java 185531 2004-01-14 19:32:57Z weaver $
  • org.apache.jetspeed.om.profile.Entry
    An Entry is a representation of a Portlet within a configuration Document. An Entry is always associated to a parent Registry entry as well as some layout constraints and local parameters if required. @author Rapha\u00ebl Luta @version $Id: Entry.java,v 1.5 2005/03/21 18:21:36 sgala Exp $
  • org.apache.jmeter.samplers.Entry
    Title: Apache JMeter Description: Copyright: Copyright (c) 2000 Company: Apache Foundation @author Michael Stover @created $Date: 2002/02/19 00:05:35 $ @version 1.0
  • org.apache.lucene.search.FieldValueHitQueue.Entry
  • org.apache.mina.common.IoFilterChain.Entry
  • org.apache.mina.core.filterchain.IoFilterChain.Entry
  • org.apache.mina.protocol.vmpipe.VmPipeAcceptor.Entry
  • org.apache.muse.ws.resource.sg.Entry
    Entry represents the WS-RF ServiceGroupEntry resource type. Such resources represent a relationship between a resource and the service group of which it is a member; the modification or destruction of these resources represents a change in the resource's membership in a service group. Changes in the service group members do not necessarily affect membership.

    Muse represents all WS-SG entries at WS-RF implied resources. They are accessible through a unique endpoint and can be destroyed via WS-RL if the WS-RL capabilities are used. Adding this capability to a resource type gives it all of the required features of a WS-RF ServiceGroupEntry. @author Dan Jemiolo (danj)
  • org.apache.myfaces.config.impl.digester.elements.ListEntries.Entry
  • org.apache.myfaces.config.impl.digester.elements.ListEntriesImpl.Entry
  • org.apache.poi.poifs.filesystem.Entry
    This interface provides access to an object managed by a Filesystem instance. Entry objects are further divided into DocumentEntry and DirectoryEntry instances. @author Marc Johnson (mjohnson at apache dot org)
  • org.apache.roller.weblogger.webservices.adminprotocol.sdk.Entry
    This class is the abstract notion of an entry. Weblog resources are represented by sets of entries.
  • org.apache.roller.webservices.adminapi.sdk.Entry
    This class is the abstract notion of an entry. Weblog resources are represented by sets of entries.
  • org.apache.synapse.config.Entry
    Represents an Entry contained in the local registry used by Synapse @see org.apache.synapse.config.SynapseConfiguration#localRegistry
  • org.apache.tomcat.lite.http.MultiMap.Entry
  • org.apache.tuscany.sca.data.collection.Entry
    Represents a key/data pair in a data collection. @version $Rev: 664283 $ $Date: 2008-06-06 22:20:05 -0700 (Fri, 06 Jun 2008) $
  • org.apache.wicket.security.examples.multilogin.entities.Entry
    A simple data object. Completely irrelevant to security. @author marrink
  • org.apache.xindice.core.data.Entry
    Entry is a high-level representation of a database record, that includes its internal meta information. @version $Revision: 594588 $, $Date: 2007-11-13 12:21:25 -0500 (Tue, 13 Nov 2007) $
  • org.atomojo.app.client.Entry
    @author alex
  • org.atomojo.app.db.Entry
    @author alex
  • org.b3log.solo.model.feed.atom.Entry
    3log.org">Liang Ding @version 1.1.0.0, Sep 12, 2011 @since 0.3.1
  • org.cloudfoundry.client.lib.archive.ApplicationArchive.Entry
  • org.cloudfoundry.client.lib.io.DynamicZipInputStream.Entry
  • org.domain.model.component.entry.Entry
    BlogEntry entity. @author Dzenan Ridjanovic @version 2006-05-02
  • org.drools.core.util.Entry
  • org.drools.guvnor.server.jaxrs.providers.atom.Entry

    Per RFC4287:

     The "atom:entry" element represents an individual entry, acting as a container for metadata and data associated with the entry.  This element can appear as a child of the atom:feed element, or it can appear as the document (i.e., top-level) element of a stand-alone Atom Entry Document. 

    atomEntry = element atom:entry { atomCommonAttributes, (atomAuthor & atomCategory & atomContent? & atomContributor & atomId & atomLink & atomPublished? & atomRights? & atomSource? & atomSummary? & atomTitle & atomUpdated & extensionElement*) }

    This specification assigns no significance to the order of appearance of the child elements of atom:entry.

    The following child elements are defined by this specification (note that it requires the presence of some of these elements):

    o atom:entry elements MUST contain one or more atom:author elements, unless the atom:entry contains an atom:source element that contains an atom:author element or, in an Atom Feed Document, the atom:feed element contains an atom:author element itself. o atom:entry elements MAY contain any number of atom:category elements. o atom:entry elements MUST NOT contain more than one atom:content element. o atom:entry elements MAY contain any number of atom:contributor elements. o atom:entry elements MUST contain exactly one atom:id element. o atom:entry elements that contain no child atom:content element MUST contain at least one atom:link element with a rel attribute value of "alternate". o atom:entry elements MUST NOT contain more than one atom:link element with a rel attribute value of "alternate" that has the same combination of type and hreflang attribute values. o atom:entry elements MAY contain additional atom:link elements beyond those described above. o atom:entry elements MUST NOT contain more than one atom:published element. o atom:entry elements MUST NOT contain more than one atom:rights element. o atom:entry elements MUST NOT contain more than one atom:source element. o atom:entry elements MUST contain an atom:summary element in either of the following cases: * the atom:entry contains an atom:content that has a "src" attribute (and is thus empty). * the atom:entry contains content that is encoded in Base64; i.e., the "type" attribute of atom:content is a MIME media type [MIMEREG], but is not an XML media type [RFC3023], does not begin with "text/", and does not end with "/xml" or "+xml". o atom:entry elements MUST NOT contain more than one atom:summary element. o atom:entry elements MUST contain exactly one atom:title element. o atom:entry elements MUST contain exactly one atom:updated element.

    TODO remove this file when JBoss AS includes RESTEasy 2.3.4.Final or higher
  • org.drools.util.Entry
  • org.easetech.easytest._1.Entry
    3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="email" type="{http://www.topografix.com/GPX/1/1}emailType" minOccurs="0"/> <element name="link" type="{http://www.topografix.com/GPX/1/1}linkType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
  • org.eclipse.emf.ecore.util.FeatureMap.Entry
  • org.eclipse.jetty.http2.hpack.HpackContext.Entry
  • org.eclipse.jetty.start.RawArgs.Entry
  • org.eclipse.jgit.lib.GitIndex.Entry
  • org.eclipse.jgit.storage.file.ReflogReader.Entry
  • org.eclipse.php.internal.ui.util.ValuedCombo.Entry
  • org.eclipse.wst.common.core.search.document.Entry
  • org.eclipse.wst.wsi.internal.core.report.Entry
    Test assertion target. @version 1.0.1 @author Peter Brittenham (peterbr@us.ibm.com)
  • org.elasticsearch.search.facet.datehistogram.DateHistogramFacet.Entry
  • org.elasticsearch.search.suggest.Suggest.Suggestion.Entry
  • org.elasticsearch.search.warmer.IndexWarmersMetaData.Entry
  • org.fenixedu.academic.domain.accounting.Entry
  • org.geoserver.script.wfs.TransactionDetail.Entry
  • org.glassfish.contextpropagation.internal.Entry
    Entries hold work contexts in the ContextMap as well as related metadata: propagation mode, whether this thread originated the work context, and whether all are allowed to read its work context.
  • org.gnome.gtk.Entry
  • org.hibernate.ejb.packaging.Entry
    Represent a JAR entry Contains a name and an optional Input stream to the entry @author Emmanuel Bernard
  • org.intabulas.sandler.elements.Entry
  • org.jamesii.gui.utils.parameters.list.Entry
    Represents a single entry consisting of a factory class name and the parameters associated with it. @author Johannes Rössel
  • org.jboss.as.console.client.tools.modelling.workbench.repository.vfs.Entry
    @author Heiko Braun @date 10/11/13
  • org.jboss.resteasy.plugins.providers.atom.Entry

    Per RFC4287:

     The "atom:entry" element represents an individual entry, acting as a container for metadata and data associated with the entry.  This element can appear as a child of the atom:feed element, or it can appear as the document (i.e., top-level) element of a stand-alone Atom Entry Document. 

    atomEntry = element atom:entry { atomCommonAttributes, (atomAuthor & atomCategory & atomContent? & atomContributor & atomId & atomLink & atomPublished? & atomRights? & atomSource? & atomSummary? & atomTitle & atomUpdated & extensionElement*) }

    This specification assigns no significance to the order of appearance of the child elements of atom:entry.

    The following child elements are defined by this specification (note that it requires the presence of some of these elements):

    o atom:entry elements MUST contain one or more atom:author elements, unless the atom:entry contains an atom:source element that contains an atom:author element or, in an Atom Feed Document, the atom:feed element contains an atom:author element itself. o atom:entry elements MAY contain any number of atom:category elements. o atom:entry elements MUST NOT contain more than one atom:content element. o atom:entry elements MAY contain any number of atom:contributor elements. o atom:entry elements MUST contain exactly one atom:id element. o atom:entry elements that contain no child atom:content element MUST contain at least one atom:link element with a rel attribute value of "alternate". o atom:entry elements MUST NOT contain more than one atom:link element with a rel attribute value of "alternate" that has the same combination of type and hreflang attribute values. o atom:entry elements MAY contain additional atom:link elements beyond those described above. o atom:entry elements MUST NOT contain more than one atom:published element. o atom:entry elements MUST NOT contain more than one atom:rights element. o atom:entry elements MUST NOT contain more than one atom:source element. o atom:entry elements MUST contain an atom:summary element in either of the following cases: * the atom:entry contains an atom:content that has a "src" attribute (and is thus empty). * the atom:entry contains content that is encoded in Base64; i.e., the "type" attribute of atom:content is a MIME media type [MIMEREG], but is not an XML media type [RFC3023], does not begin with "text/", and does not end with "/xml" or "+xml". o atom:entry elements MUST NOT contain more than one atom:summary element. o atom:entry elements MUST contain exactly one atom:title element. o atom:entry elements MUST contain exactly one atom:updated element.

    @author Bill Burke @version $Revision: 1 $
  • org.jcodings.EncodingDB.Entry
  • org.jitterbit.integration.client.project.backup.BackupLog.Entry
  • org.jitterbit.integration.data.structure.database.DbFields.Entry
  • org.jitterbit.integration.data.structure.database.DbTranFilters.Entry
  • org.jresearch.gossip.beans.user.Entry
    DOCUMENT ME! @author dbelov
  • org.jscsi.target.settings.entry.Entry
    {@link Entry} objects are used by instances {@link SettingsNegotiator} during text negotiation of connection andsession parameter. For all parameters that are either declared by the iSCSI initiator or negotiated between the initiator and the target a separate {@link Entry} takes care of processing the respective key=value pair andreturning the negotiated value, if appropriate.

    For brevity, the term "negotiated" will be used in the following in a way that can either mean "declared or negotiated", unless the distinction is evident by context. @author Andreas Ergenzinger, University of Konstanz

  • org.kapott.hbci.GV_Result.GVRTermUebList.Entry
  • org.nasutekds.server.types.Entry
    This class defines a data structure for a Directory Server entry. It includes a DN and a set of attributes.

    The entry also contains a volatile attachment object, which should be used to associate the entry with a special type of object that is based on its contents. For example, if the entry holds access control information, then the attachment might be an object that contains a representation of that access control definition in a more useful form. This is only useful if the entry is to be cached, since the attachment may be accessed if the entry is retrieved from the cache, but if the entry is retrieved from the backend repository it cannot be guaranteed to contain any attachment (and in most cases will not). This attachment is volatile in that it is not always guaranteed to be present, it may be removed or overwritten at any time, and it will be invalidated and removed if the entry is altered in any way.
  • org.netbeans.lib.profiler.heap.LongMap.Entry
  • org.netbeans.modules.nodejs.ui2.SourcesChildFactory.Entry
    @author tim
  • org.nimbustools.messaging.gt4_0.generated.negotiable.Entry
    Globus stuff (4.0.x).
  • org.openrdf.sail.rdbms.algebra.SqlCase.Entry
  • org.redline_rpm.header.AbstractHeader.Entry
  • org.restlet.ext.atom.Entry
    Represents an individual entry, acting as a component for metadata and data associated with the entry. @author Jerome Louvel
  • org.robotninjas.barge.api.Entry
  • org.springframework.boot.loader.archive.Archive.Entry
  • org.springframework.yarn.fs.LocalResourcesSelector.Entry
  • org.springmodules.feedxt.domain.Entry
    Simple feed entry representation. @author Sergio Bossa
  • org.springsource.ide.eclipse.commons.core.Entry
  • org.tmatesoft.hg.repo.HgMergeState.Entry
  • org.wso2.carbon.proxyadmin.common.Entry
    Class Entry is used to represent an element in a map. The Axis2 codegeneration does not handle java.util.Collection types. Therefore a map is created using an array of Entry instances.
  • org.wso2.carbon.proxyadmin.stub.types.carbon.Entry
  • redis.seek.Entry
  • sample.addressbook.entry.Entry
  • sample.addressbook.stub.AddressBookServiceAddressBookServiceSOAP11Port_httpStub.Entry
  • sample.addressbook.stub.AddressBookServiceStub.Entry
  • se.sperber.cryson.examples.advancedcrysondiary.model.Entry
  • sis.functiontest.Entry
  • sos.scheduler.InstallationService.batchInstallationModel.installationFile.Entry
    3.org/2001/XMLSchema}anyType"> <attribute name="key" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="licence"/> <enumeration value="licenceOptions"/> <enumeration value="schedulerAllowedHost"/> <enumeration value="schedulerHost"/> <enumeration value="schedulerId"/> <enumeration value="schedulerPort"/> </restriction> </simpleType> </attribute> <attribute name="value" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="4445"/> <enumeration value="GPL"/> <enumeration value="SOS-UR-1-L2M-7-22-JQBYQH4"/> <enumeration value="localhost"/> <enumeration value="scheduler_id"/> <enumeration value="ur"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType>
  • test.abdera.Entry
  • wyfs.lang.Path.Entry
  • wyil.lang.Code.Block.Entry

  • Examples of org.apache.abdera.model.Entry

             feed.setSubtitle("Feed subtitle");
             feed.setUpdated(new Date());
             feed.addAuthor("James Snell");
             feed.addLink("http://example.com");

             Entry entry = feed.addEntry();
             entry.setId("tag:example.org,2007:/foo/entries/1");
             entry.setTitle("Entry title");
             entry.setUpdated(new Date());
             entry.setPublished(new Date());
             entry.addLink(uri.getRequestUri().toString());

             Customer cust = new Customer("bill");

             JAXBContext ctx = JAXBContext.newInstance(Customer.class);
             StringWriter writer = new StringWriter();
             ctx.createMarshaller().marshal(cust, writer);
             entry.setContent(writer.toString(), "application/xml");
             return feed;

          }
    View Full Code Here

    Examples of org.apache.archiva.rest.api.model.Entry

            Map<String, String> map = metadataFacet.toProperties();
            List<Entry> entries = new ArrayList<>( map.size() );

            for ( Map.Entry<String, String> entry : map.entrySet() )
            {
                entries.add( new Entry( entry.getKey(), entry.getValue() ) );
            }

            return entries;
        }
    View Full Code Here

    Examples of org.apache.aries.samples.blog.api.persistence.Entry

      public Entry findBlogEntryByTitle(String title) {
        Query q = em
            .createQuery("SELECT e FROM BLOGENTRY e WHERE e.title = ?1");
        q.setParameter(1, title);
        Entry b = (Entry) q.getSingleResult();
        return b;
      }
    View Full Code Here

    Examples of org.apache.aurora.scheduler.log.Log.Entry

      private Iterable<Entry> toEntries(LogEntry... entries) {
        return Iterables.transform(Arrays.asList(entries),
            new Function<LogEntry, Entry>() {
              @Override
              public Entry apply(final LogEntry entry) {
                return new Entry() {
                  @Override
                  public byte[] contents() {
                    try {
                      return entrySerializer.serialize(entry)[0];
                    } catch (CodingException e) {
    View Full Code Here

    Examples of org.apache.catalina.valves.TesterAccessLogValve.Entry

                Thread.sleep(100);
            }
           
            assertEquals(count, entries.size());
            for (int j = 0; j < count; j++) {
                Entry entry = entries.get(j);
                assertEquals(status, entry.getStatus());
                assertTrue(entry.toString(), entry.getTime() >= minTime);
                assertTrue(entry.toString(), entry.getTime() < maxTime);
            }
        }
    View Full Code Here

    Examples of org.apache.commons.math.linear.RealVector.Entry

            assertEquals(vec1Squared, w.getData());
        }

        public void testIterator() throws Exception {
            RealVector v = new TestVectorImpl(vec2.clone());
            Entry e;
            int i = 0;
            for(Iterator<Entry> it = v.iterator(); it.hasNext() && (e = it.next()) != null; i++) {
                assertEquals(vec2[i], e.getValue());
            }
        }
    View Full Code Here

    Examples of org.apache.commons.math3.linear.RealVector.Entry

            RealVector v = RealVector.unmodifiableRealVector(u.copy());
            Iterator<Entry> j = v.iterator();
            boolean flag;
            while (i.hasNext()) {
                Assert.assertTrue(j.hasNext());
                Entry exp = i.next();
                Entry act = j.next();
                Assert.assertTrue(equals(exp.getIndex(), act.getIndex()));
                Assert.assertTrue(equals(exp.getValue(), act.getValue()));
                exp.setIndex(RANDOM.nextInt(DIM));
                act.setIndex(RANDOM.nextInt(DIM));
                flag = false;
                try {
                    act.setValue(RANDOM.nextDouble());
                } catch (MathUnsupportedOperationException e) {
                    flag = true;
                }
                Assert.assertTrue("exception should have been thrown", flag);
            }
    View Full Code Here

    Examples of org.apache.directory.api.ldap.model.entry.Entry

                                                              filter,
                                                              SearchScope.SUBTREE,
                                                              "*");
            final Iterator<Entry> it = entryCursor.iterator();
            if (it.hasNext()) {
                final Entry e = it.next();
                // for generic LDAP use the dn of the entry for the subsequent bind, active directory needs the userPrincipalName attribute (set below)
                if (!activeDirectory) {
                    ldapEntry.setDn(e.getDn().getName());
                }

                for (Attribute attribute : e.getAttributes()) {
                    if (activeDirectory && attribute.getId().equalsIgnoreCase("userPrincipalName")) {
                        ldapEntry.setDn(attribute.getString());
                    }
                    if (attribute.isHumanReadable()) {
                        ldapEntry.put(attribute.getId(), attribute.getString());
    View Full Code Here

    Examples of org.apache.directory.ldapstudio.browser.core.internal.model.Entry

                    entryToCopy = srs[0].getEntry();
                    IAttribute[] attributesToCopy = entryToCopy.getAttributes();

                    // create new entry
                    RDN rdn = entryToCopy.getRdn();
                    IEntry newEntry = new Entry( parent, rdn );

                    // change RDN if entry already exists
                    ExtendedProgressMonitor testMonitor = new ExtendedProgressMonitor( monitor );
                    IEntry testEntry = parent.getConnection().getEntry( newEntry.getDn(), testMonitor );
                    if ( testEntry != null )
                    {
                        String rdnValue = rdn.getValue();
                        String newRdnValue = BrowserCoreMessages.bind( BrowserCoreMessages.copy_n_of_s, "", rdnValue ); //$NON-NLS-1$
                        RDN newRdn = getNewRdn( rdn, newRdnValue );
                        newEntry = new Entry( parent, newRdn );
                        testEntry = parent.getConnection().getEntry( newEntry.getDn(), testMonitor );
                        for ( int i = 2; testEntry != null; i++ )
                        {
                            newRdnValue = BrowserCoreMessages.bind( BrowserCoreMessages.copy_n_of_s, i + " ", rdnValue ); //$NON-NLS-1$
                            newRdn = getNewRdn( rdn, newRdnValue );
                            newEntry = new Entry( parent, newRdn );
                            testEntry = parent.getConnection().getEntry( newEntry.getDn(), testMonitor );
                        }
                    }

                    // copy attributes
                    for ( int i = 0; i < attributesToCopy.length; i++ )
                    {
                        IAttribute attributeToCopy = attributesToCopy[i];

                        if ( SchemaUtils.isModifyable( attributeToCopy.getAttributeTypeDescription() )
                            || IAttribute.REFERRAL_ATTRIBUTE.equalsIgnoreCase( attributeToCopy.getDescription() ) )
                        {
                            IAttribute newAttribute = new Attribute( newEntry, attributeToCopy.getDescription() );
                            newEntry.addAttribute( newAttribute );
                            IValue[] valuesToCopy = attributeToCopy.getValues();
                            for ( int j = 0; j < valuesToCopy.length; j++ )
                            {
                                IValue valueToCopy = valuesToCopy[j];
                                IValue newValue = new Value( newAttribute, valueToCopy.getRawValue() );
                                newAttribute.addValue( newValue );
                            }
                        }
                    }

                    // check if RDN attributes ar present
                    RDN newRdn = newEntry.getRdn();
                    RDNPart[] oldRdnParts = rdn.getParts();
                    for ( int i = 0; i < oldRdnParts.length; i++ )
                    {
                        RDNPart part = oldRdnParts[i];
                        IAttribute rdnAttribute = newEntry.getAttribute( part.getType() );
                        if ( rdnAttribute != null )
                        {
                            IValue[] values = rdnAttribute.getValues();
                            for ( int ii = 0; ii < values.length; ii++ )
                            {
                                if ( part.getUnencodedValue().equals( values[ii].getRawValue() ) )
                                {
                                    rdnAttribute.deleteValue( values[ii] );
                                }
                                if ( rdnAttribute.getValueSize() == 0 )
                                {
                                    newEntry.deleteAttribute( rdnAttribute );
                                }
                            }
                        }
                    }
                    RDNPart[] newRdnParts = newRdn.getParts();
                    for ( int i = 0; i < newRdnParts.length; i++ )
                    {
                        RDNPart part = newRdnParts[i];
                        IAttribute rdnAttribute = newEntry.getAttribute( part.getType() );
                        if ( rdnAttribute == null )
                        {
                            rdnAttribute = new Attribute( newEntry, part.getType() );
                            newEntry.addAttribute( rdnAttribute );
                            rdnAttribute.addValue( new Value( rdnAttribute, part.getUnencodedValue() ) );
                        }
                        else
                        {
                            boolean mustAdd = true;
                            IValue[] values = rdnAttribute.getValues();
                            for ( int ii = 0; ii < values.length; ii++ )
                            {
                                if ( part.getUnencodedValue().equals( values[ii].getStringValue() ) )
                                {
                                    mustAdd = false;
                                    break;
                                }
                            }
                            if ( mustAdd )
                            {
                                rdnAttribute.addValue( new Value( rdnAttribute, part.getUnencodedValue() ) );
                            }
                        }
                    }

                    newEntry.getConnection().create( newEntry, monitor );
                    newEntry.getParententry().addChild( newEntry );
                    newEntry.setHasChildrenHint( false );

                    num++;
                    monitor.reportProgress( BrowserCoreMessages.bind( BrowserCoreMessages.model__copied_n_entries,
                        new String[]
                            { Integer.toString( num ) } ) );
    View Full Code Here

    Examples of org.apache.directory.shared.ldap.entry.Entry

         */
        private void processAddRequest( AddRequestCodec request, BatchResponseDsml batchResponseDsml,
            StudioProgressMonitor monitor )
        {
            // Executing the add request
            Entry entry = request.getEntry();
            browserConnection.getConnection().getJNDIConnectionWrapper().createEntry( entry.getDn().getUpName(),
                AttributeUtils.toAttributes( entry ), getControls( request ), monitor, null );

            // Creating the response
            if ( batchResponseDsml != null )
            {
                AddResponseDsml addResponseDsml = new AddResponseDsml();
                addResponseDsml.setLdapResult( getLdapResult( monitor, MessageTypeEnum.ADD_REQUEST ) );
                addResponseDsml.getLdapResult().setMatchedDN( entry.getDn() );
                batchResponseDsml.addResponse( addResponseDsml );
            }

            // Update cached entries
            LdapDN dn = entry.getDn();
            IEntry e = browserConnection.getEntryFromCache( dn );
            LdapDN parentDn = DnUtils.getParent( dn );
            IEntry parentEntry = parentDn != null ? browserConnection.getEntryFromCache( parentDn ) : null;
            if ( e != null )
            {
    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.