org.palo.api.impl
Class Property2FactoryImpl

java.lang.Object
  extended by org.palo.api.Property2Factory
      extended by org.palo.api.impl.Property2FactoryImpl

public class Property2FactoryImpl
extends Property2Factory


Constructor Summary
Property2FactoryImpl()
           
 
Method Summary
 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.
 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).
 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.
 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).
 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.
 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).
 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.
 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 org.palo.api.Property2Factory
getInstance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property2FactoryImpl

public Property2FactoryImpl()
Method Detail

newProperty

public final Property2 newProperty(Connection con,
                                   java.lang.String id,
                                   java.lang.String value)
Description copied from class: Property2Factory
Creates a new property2 object that has no parent and is of type string.

Specified by:
newProperty in class Property2Factory
Parameters:
con - the connection to which this property belongs.
id - the new id of the property.
value - the value for the property.
Returns:
a new modifiable string property with no parent.

newProperty

public final Property2 newProperty(Connection con,
                                   java.lang.String id,
                                   java.lang.String value,
                                   Property2 parent)
Description copied from class: Property2Factory
Creates a new property2 object that has the given parent and is of type string.

Specified by:
newProperty in class Property2Factory
Parameters:
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.
Returns:
a new modifiable string property with the given parent.

newProperty

public final Property2 newProperty(Connection con,
                                   java.lang.String id,
                                   java.lang.String value,
                                   int type)
Description copied from class: Property2Factory
Creates a new property2 object that has no parent and is of the specified type (one of the constants defined in Property2).

Specified by:
newProperty in class Property2Factory
Parameters:
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.
Returns:
a new modifiable property (type as specified) with no parent.

newProperty

public final Property2 newProperty(Connection con,
                                   java.lang.String id,
                                   java.lang.String value,
                                   Property2 parent,
                                   int type)
Description copied from class: Property2Factory
Creates a new property2 object that has the given parent and is of the specified type (one of the constants defined in Property2).

Specified by:
newProperty in class Property2Factory
Parameters:
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.
Returns:
a new modifiable property (type as specified) with the given parent.

newReadOnlyProperty

public final Property2 newReadOnlyProperty(Connection con,
                                           java.lang.String id,
                                           java.lang.String value)
Description copied from class: Property2Factory
Creates a new read-only property2 object that has no parent and is of type string.

Specified by:
newReadOnlyProperty in class Property2Factory
Parameters:
con - the connection to which this property belongs.
id - the new id of the property.
value - the value for the property.
Returns:
a new unmodifiable string property with no parent.

newReadOnlyProperty

public final Property2 newReadOnlyProperty(Connection con,
                                           java.lang.String id,
                                           java.lang.String value,
                                           Property2 parent)
Description copied from class: Property2Factory
Creates a new read-only property2 object that has the given parent and is of type string.

Specified by:
newReadOnlyProperty in class Property2Factory
Parameters:
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.
Returns:
a new unmodifiable string property with the given parent.

newReadOnlyProperty

public final Property2 newReadOnlyProperty(Connection con,
                                           java.lang.String id,
                                           java.lang.String value,
                                           int type)
Description copied from class: Property2Factory
Creates a new read-only property2 object that has no parent and is of the specified type (one of the constants defined in Property2).

Specified by:
newReadOnlyProperty in class Property2Factory
Parameters:
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.
Returns:
a new unmodifiable property (type as specified) with no parent.

newReadOnlyProperty

public final Property2 newReadOnlyProperty(Connection con,
                                           java.lang.String id,
                                           java.lang.String value,
                                           Property2 parent,
                                           int type)
Description copied from class: Property2Factory
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).

Specified by:
newReadOnlyProperty in class Property2Factory
Parameters:
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.
Returns:
a new unmodifiable property (type as specified) with the given parent.