|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dna.connector.federation.contribution.Contribution
org.jboss.dna.connector.federation.contribution.NonEmptyContribution
@Immutable public abstract class NonEmptyContribution
The record of a non-empty source contribution from a single location within the source.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jboss.dna.connector.federation.contribution.Contribution |
|---|
Contribution.EmptyIterator<T>, Contribution.ImmutableIterator<T>, Contribution.OneValueIterator<T>, Contribution.ThreeValueIterator<T>, Contribution.TwoValueIterator<T> |
| Field Summary |
|---|
| Fields inherited from class org.jboss.dna.connector.federation.contribution.Contribution |
|---|
EMPTY_CHILDREN_ITERATOR, EMPTY_PROPERTY_ITERATOR |
| Constructor Summary | |
|---|---|
protected |
NonEmptyContribution(String sourceName,
org.jboss.dna.graph.properties.Path pathInSource,
org.jboss.dna.graph.properties.DateTime expirationTime)
Create a contribution of node properties from the source with the supplied name. |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
This implementation only compares the |
org.jboss.dna.graph.properties.Path |
getPathInSource()
Get the source-specific path of this information. |
int |
hashCode()
This implementation returns the hash code of the |
| Methods inherited from class org.jboss.dna.connector.federation.contribution.Contribution |
|---|
create, create, create, create, create, createPlaceholder, createPlaceholder, getChildren, getChildrenCount, getExpirationTimeInUtc, getProperties, getProperty, getPropertyCount, getSourceName, isEmpty, isExpired, isPlaceholder, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected NonEmptyContribution(String sourceName,
org.jboss.dna.graph.properties.Path pathInSource,
org.jboss.dna.graph.properties.DateTime expirationTime)
sourceName - the name of the source, which may not be null or blankpathInSource - the path in the source for this contributed information; may not be nullexpirationTime - the time (in UTC) after which this contribution should be considered expired, or null if there is no
expiration time| Method Detail |
|---|
public org.jboss.dna.graph.properties.Path getPathInSource()
getPathInSource in class ContributionEmptyContributionContribution.getPathInSource()public int hashCode()
This implementation returns the hash code of the source name, and is compatible with the
implementation of Contribution.equals(Object).
This implementation returns the hash code of the source name, and is compatible with the
implementation of equals(Object).
hashCode in class Contributionpublic boolean equals(Object obj)
This implementation only compares the source name.
equals in class Contribution
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||