|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.palo.api.Property2Factory
public abstract class Property2Factory
The Property2Factory class can be used to easily create new Property2 objects.
Constructor Summary | |
---|---|
Property2Factory()
|
Method Summary | |
---|---|
static Property2Factory |
getInstance()
|
abstract Property2 |
newProperty(Connection con,
java.lang.String id,
java.lang.String value)
Creates a new property2 object that has no parent and is of type string. |
abstract Property2 |
newProperty(Connection con,
java.lang.String id,
java.lang.String value,
int type)
Creates a new property2 object that has no parent and is of the specified type (one of the constants defined in Property2). |
abstract Property2 |
newProperty(Connection con,
java.lang.String id,
java.lang.String value,
Property2 parent)
Creates a new property2 object that has the given parent and is of type string. |
abstract Property2 |
newProperty(Connection con,
java.lang.String id,
java.lang.String value,
Property2 parent,
int type)
Creates a new property2 object that has the given parent and is of the specified type (one of the constants defined in Property2). |
abstract Property2 |
newReadOnlyProperty(Connection con,
java.lang.String id,
java.lang.String value)
Creates a new read-only property2 object that has no parent and is of type string. |
abstract Property2 |
newReadOnlyProperty(Connection con,
java.lang.String id,
java.lang.String value,
int type)
Creates a new read-only property2 object that has no parent and is of the specified type (one of the constants defined in Property2). |
abstract Property2 |
newReadOnlyProperty(Connection con,
java.lang.String id,
java.lang.String value,
Property2 parent)
Creates a new read-only property2 object that has the given parent and is of type string. |
abstract Property2 |
newReadOnlyProperty(Connection con,
java.lang.String id,
java.lang.String value,
Property2 parent,
int type)
Creates a new read-only property2 object that has the given parent and is of the specified type (one of the constants defined in Property2). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Property2Factory()
Method Detail |
---|
public static Property2Factory getInstance()
public abstract Property2 newProperty(Connection con, java.lang.String id, java.lang.String value)
con
- the connection to which this property belongs.id
- the new id of the property.value
- the value for the property.
public abstract Property2 newProperty(Connection con, java.lang.String id, java.lang.String value, Property2 parent)
con
- the connection to which this property belongs.id
- the new id of the property.value
- the value for the property.parent
- the parent of this property.
public abstract Property2 newProperty(Connection con, java.lang.String id, java.lang.String value, int type)
con
- the connection to which this property belongs.id
- the new id of the property.value
- the value for the property.type
- the type of this property. One of the constants defined
in Property2.
public abstract Property2 newProperty(Connection con, java.lang.String id, java.lang.String value, Property2 parent, int type)
con
- the connection to which this property belongs.id
- the new id of the property.value
- the value for the property.parent
- the parent of this property.type
- the type of this property. One of the constants defined
in Property2.
public abstract Property2 newReadOnlyProperty(Connection con, java.lang.String id, java.lang.String value)
con
- the connection to which this property belongs.id
- the new id of the property.value
- the value for the property.
public abstract Property2 newReadOnlyProperty(Connection con, java.lang.String id, java.lang.String value, Property2 parent)
con
- the connection to which this property belongs.id
- the new id of the property.value
- the value for the property.parent
- the parent of this property.
public abstract Property2 newReadOnlyProperty(Connection con, java.lang.String id, java.lang.String value, int type)
con
- the connection to which this property belongs.id
- the new id of the property.value
- the value for the property.type
- the type of this property. One of the constants defined
in Property2.
public abstract Property2 newReadOnlyProperty(Connection con, java.lang.String id, java.lang.String value, Property2 parent, int type)
con
- the connection to which this property belongs.id
- the new id of the property.value
- the value for the property.parent
- the parent of this property.type
- the type of this property. One of the constants defined
in Property2.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |