org.jboss.dna.repository.sequencer
Class SequencerOutputMap.PropertyValue

java.lang.Object
  extended by org.jboss.dna.repository.sequencer.SequencerOutputMap.PropertyValue
All Implemented Interfaces:
Comparable<SequencerOutputMap.PropertyValue>
Enclosing class:
SequencerOutputMap

@Immutable
public class SequencerOutputMap.PropertyValue
extends Object
implements Comparable<SequencerOutputMap.PropertyValue>

A property name and value pair. PropertyValue instances have a natural order where the jcr:primaryType is first, followed by all other properties in ascending lexicographical order according to the name.

Author:
Randall Hauch

Method Summary
 int compareTo(SequencerOutputMap.PropertyValue that)
          
 boolean equals(Object obj)
          
 Name getName()
          Get the property name.
 Object getValue()
          Get the property value, which is either a single value or an array of values.
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public Name getName()
Get the property name.

Returns:
the property name; never null

getValue

public Object getValue()
Get the property value, which is either a single value or an array of values.

Returns:
the property value

compareTo

public int compareTo(SequencerOutputMap.PropertyValue that)

Specified by:
compareTo in interface Comparable<SequencerOutputMap.PropertyValue>

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2008-2009 JBoss, a division of Red Hat. All Rights Reserved.