public class PropertyReference extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PropertyReference.Kind
Kind of property being referenced.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Indicates whether some other object is equal to this one.
|
PropertyReference.Kind |
getKind()
Returns the kind.
|
ObjectLabel |
getObjectLabel()
Returns the object label.
|
String |
getPropertyName()
Returns the property name (for ordinary properties).
|
int |
hashCode()
Returns the hash code for this object.
|
static PropertyReference |
makeDefaultArrayPropertyReference(ObjectLabel objlabel)
Constructs a reference to a default-array property.
|
static PropertyReference |
makeDefaultNonArrayPropertyReference(ObjectLabel objlabel)
Constructs a reference to a default-nonarray property.
|
static PropertyReference |
makeInternalPrototypePropertyReference(ObjectLabel objlabel)
Constructs a reference to an internal prototype property.
|
static PropertyReference |
makeInternalScopePropertyReference(ObjectLabel objlabel)
Constructs a reference to an internal scope property.
|
static PropertyReference |
makeInternalValuePropertyReference(ObjectLabel objlabel)
Constructs a reference to an internal value property.
|
static PropertyReference |
makeOrdinaryPropertyReference(ObjectLabel objlabel,
String propertyname)
Constructs a reference to ordinary property.
|
PropertyReference |
makeRenamed(ObjectLabel new_objlabel)
Constructs a copy of this property reference but with another object label.
|
PropertyReference |
makeSingleton()
Constructs a copy of this property reference but with a singleton object label instead of a summary object label.
|
String |
toString()
Returns a string representation of the object.
|
public boolean equals(Object obj)
public PropertyReference.Kind getKind()
public ObjectLabel getObjectLabel()
public String getPropertyName()
public int hashCode()
public static PropertyReference makeDefaultArrayPropertyReference(ObjectLabel objlabel)
public static PropertyReference makeDefaultNonArrayPropertyReference(ObjectLabel objlabel)
public static PropertyReference makeInternalPrototypePropertyReference(ObjectLabel objlabel)
public static PropertyReference makeInternalScopePropertyReference(ObjectLabel objlabel)
public static PropertyReference makeInternalValuePropertyReference(ObjectLabel objlabel)
public static PropertyReference makeOrdinaryPropertyReference(ObjectLabel objlabel, String propertyname)
public PropertyReference makeRenamed(ObjectLabel new_objlabel)
public PropertyReference makeSingleton()
Copyright © 2012 Aarhus University