StructuralMetadata.PropertyTable

Inheritance: java.lang.Object

public static class StructuralMetadata.PropertyTable

Property table.

Constructors

ConstructorDescription
PropertyTable(String name, StructuralMetadata.ClassType mclass)Constructor of the property table.

Methods

MethodDescription
addValue(StructuralMetadata.Property prop, Object value)Add a new property to the property table.
addValue(String propName, Object value)Add a new property to the property table.
attach(VertexElementUserData userData)Attach current property table to specified user data
equals(Object arg0)
from(VertexElementUserData userData)Extract attached property table from specified user data
getClass()
getMetaClass()The meta class of this property table.
getName()Name of the property table.
getValue(String name)Gets the value of specified property name
getValues()Values of the property table.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

PropertyTable(String name, StructuralMetadata.ClassType mclass)

public PropertyTable(String name, StructuralMetadata.ClassType mclass)

Constructor of the property table.

Parameters:

ParameterTypeDescription
namejava.lang.StringThe name of this table instance.
mclassClassTypeThe meta class definition of this property table

addValue(StructuralMetadata.Property prop, Object value)

public void addValue(StructuralMetadata.Property prop, Object value)

Add a new property to the property table.

Parameters:

ParameterTypeDescription
propPropertyWhich property to add with value
valuejava.lang.ObjectArray of values

addValue(String propName, Object value)

public void addValue(String propName, Object value)

Add a new property to the property table.

Parameters:

ParameterTypeDescription
propNamejava.lang.StringWhich property to add with value
valuejava.lang.ObjectArray of values

attach(VertexElementUserData userData)

public void attach(VertexElementUserData userData)

Attach current property table to specified user data

Parameters:

ParameterTypeDescription
userDataVertexElementUserData

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

from(VertexElementUserData userData)

public static StructuralMetadata.PropertyTable from(VertexElementUserData userData)

Extract attached property table from specified user data

Parameters:

ParameterTypeDescription
userDataVertexElementUserDataThe user data which associated with a property table

Returns: PropertyTable - The associated property table instance

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getMetaClass()

public StructuralMetadata.ClassType getMetaClass()

The meta class of this property table.

Returns: ClassType - The meta class of this property table.

getName()

public String getName()

Name of the property table.

Returns: java.lang.String - Name of the property table.

getValue(String name)

public Object getValue(String name)

Gets the value of specified property name

Parameters:

ParameterTypeDescription
namejava.lang.StringProperty name

Returns: java.lang.Object - Property value or null if not found

getValues()

public HashMap<String,Object> getValues()

Values of the property table.

Returns: java.util.HashMap<java.lang.String,java.lang.Object> - Values of the property table.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int