public class Property
extends java.lang.Object
Constructor and Description |
---|
Property(java.lang.String pathExpression)
Constructor
|
Property(java.lang.String referenceName,
java.lang.String propertyName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Expression |
contains(java.lang.Object value)
Creates a Contains expression that compares the property against the value
|
Expression |
equal(java.lang.Object value)
Creates an Equal expression that compares the property against the value
|
boolean |
equals(java.lang.Object object) |
java.lang.String |
getPropertyName()
Gets the property name
|
java.lang.String |
getReferenceName()
Gets the name of the reference
|
Expression |
greaterThan(java.lang.Object value)
Creates a GreaterThan expression that compares the property against the
value
|
int |
hashCode() |
Expression |
in(java.lang.Object... values)
Creates an In expression that compares the property against the
values
|
Expression |
isNotNull()
Creates an IsNotNull expression that compares the property to check if it
is not null
|
Expression |
isNull()
Creates an IsNull expression that compares the property to check if it is
null
|
boolean |
isPropertyOfReference()
Whether this is a property of a reference
|
Expression |
lessThan(java.lang.Object value)
Creates a LessThan expression that compares the property against the value
|
Expression |
like(java.lang.Object value)
Creates a Like expression that compares the property against the value
|
Expression |
notEqual(java.lang.Object value)
Creates a NotEqual expression that compares the property against the value
|
static Property |
portal()
Gets the property that represents the portal of PortalEntity
|
java.lang.String |
toString() |
static Property |
type()
Gets the property that represents the type of PortalEntity
|
public Property(java.lang.String referenceName, java.lang.String propertyName)
referenceName
- the name of the reference, or null if this is not a
property of a referencepropertyName
- the name of the propertypublic Property(java.lang.String pathExpression)
pathExpression
- the path expression for the propertypublic static Property type()
public static Property portal()
public boolean isPropertyOfReference()
public java.lang.String getReferenceName()
public java.lang.String getPropertyName()
public Expression equal(java.lang.Object value)
value
- the value to compare agaistpublic Expression notEqual(java.lang.Object value)
value
- the value to compare agaistpublic Expression like(java.lang.Object value)
value
- the value to compare agaistpublic Expression contains(java.lang.Object value)
value
- the value to compare agaistpublic Expression isNull()
public Expression isNotNull()
public Expression lessThan(java.lang.Object value)
value
- the value to compare agaistpublic Expression greaterThan(java.lang.Object value)
value
- the value to compare agaistpublic Expression in(java.lang.Object... values)
values
- the values to compare agaistpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object