com.atlassian.query.clause
Class Property

java.lang.Object
  extended by com.atlassian.query.clause.Property

@ExperimentalApi
public class Property
extends Object

Encapsulates the entity property key and object reference data.

Since:
v6.2

Field Summary
static com.google.common.base.Function<String,List<String>> SPLIT_STRING
           
 
Constructor Summary
Property(List<String> keys, List<String> objectReferences)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAsPropertyString()
           
 List<String> getKeys()
           
 String getKeysAsString()
           
 List<String> getObjectReferences()
           
 String getObjectReferencesAsString()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SPLIT_STRING

public static final com.google.common.base.Function<String,List<String>> SPLIT_STRING
Constructor Detail

Property

public Property(List<String> keys,
                List<String> objectReferences)
Method Detail

getKeys

public List<String> getKeys()
Returns:
the key of the entity property.

getObjectReferences

public List<String> getObjectReferences()
Returns:
the path to the searched json value.

getAsPropertyString

public String getAsPropertyString()

getKeysAsString

public String getKeysAsString()

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

getObjectReferencesAsString

public String getObjectReferencesAsString()


Copyright © 2002-2014 Atlassian. All Rights Reserved.