|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.connector.federation.contribution.Contribution org.jboss.dna.connector.federation.contribution.NonEmptyContribution org.jboss.dna.connector.federation.contribution.OnePropertyContribution
@Immutable public class OnePropertyContribution
The record of a source contributing only properties to a node.
Constructor Summary | |
---|---|
OnePropertyContribution(String sourceName,
String workspaceName,
Location locationInSource,
DateTime expirationTime,
Property property)
Create a contribution of node properties from the source with the supplied name. |
Method Summary | |
---|---|
Iterator<Property> |
getProperties()
Get the properties that are in this contribution. |
Property |
getProperty(Name name)
Get the contributed property with the supplied name. |
int |
getPropertyCount()
Get the number of properties that are in this contribution. |
Methods inherited from class org.jboss.dna.connector.federation.contribution.NonEmptyContribution |
---|
equals, getLocationInSource, hashCode |
Methods inherited from class org.jboss.dna.connector.federation.contribution.Contribution |
---|
create, create, create, create, create, createPlaceholder, createPlaceholder, getChildren, getChildrenCount, getExpirationTimeInUtc, getSourceName, getString, getWorkspaceName, isEmpty, isExpired, isPlaceholder, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OnePropertyContribution(String sourceName, String workspaceName, Location locationInSource, DateTime expirationTime, Property property)
sourceName
- the name of the source, which may not be null or blankworkspaceName
- the name of the workspace, which may not be null or blanklocationInSource
- the location 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 timeproperty
- the property from the source; may not be nullMethod Detail |
---|
public Iterator<Property> getProperties()
removal
.
getProperties
in class Contribution
Contribution.getProperties()
public int getPropertyCount()
getPropertyCount
in class Contribution
Contribution.getPropertyCount()
public Property getProperty(Name name)
getProperty
in class Contribution
name
- the name of the property
Contribution.getProperty(org.jboss.dna.graph.property.Name)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |