|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spago.cms.CmsProperty
public class CmsProperty
Models the property of a cms node
Field Summary | |
---|---|
static java.lang.String |
TYPE_BINARY
Binary type of the property (java InputStream type) |
static java.lang.String |
TYPE_BOOLEAN
Boolean type of the property (java Boolean type) |
static java.lang.String |
TYPE_DATE
Date type of the property (java Calendar type) |
static java.lang.String |
TYPE_DOUBLE
Double type of the property (java Double type) |
static java.lang.String |
TYPE_LONG
Long type of the property (java Long type) |
static java.lang.String |
TYPE_STRING
String type of the property (java String type) |
Constructor Summary | |
---|---|
CmsProperty(java.lang.String namein,
java.lang.Boolean[] valuesin)
Constructor of the class useful to build a properties of type Boolean setting a name and an array of Boolean values |
|
CmsProperty(java.lang.String namein,
java.util.Calendar[] valuesin)
Constructor of the class useful to build a properties of type Date setting a name and an array of Calendar values |
|
CmsProperty(java.lang.String namein,
java.lang.Double[] valuesin)
Constructor of the class useful to build a properties of type Double setting a name and an array of Double values |
|
CmsProperty(java.lang.String namein,
java.io.InputStream[] valuesin)
Constructor of the class useful to build a properties of type Binary setting a name and an array of InputStream values |
|
CmsProperty(java.lang.String namein,
java.lang.Long[] valuesin)
Constructor of the class useful to build a properties of type Long setting a name and an array of Long values |
|
CmsProperty(java.lang.String namein,
java.lang.String[] valuesin)
Constructor of the class useful to build a properties of type String setting a name and an array of string values |
Method Summary | |
---|---|
java.io.InputStream[] |
getBinaryValues()
Gets the Binary values of the property |
java.lang.Boolean[] |
getBooleanValues()
Gets the Boolean values of the property |
java.util.Calendar[] |
getDateValues()
Gets the Date values of the property |
java.lang.Double[] |
getDoubleValues()
Gets the Double values of the property |
java.lang.Long[] |
getLongValues()
Gets the Long values of the property |
java.lang.String |
getName()
Gets the name of the property |
java.lang.String[] |
getStringValues()
Gets the String values of the property |
java.lang.String |
getType()
Gets the type of the property |
void |
setBinaryValues(java.io.InputStream[] invalues)
Sets the Binary values of the property |
void |
setBooleanValues(java.lang.Boolean[] invalues)
Sets the Boolean values of the property |
void |
setDateValues(java.util.Calendar[] invalues)
Sets the Date values of the property |
void |
setDoubleValues(java.lang.Double[] invalues)
Sets the Double values of the property |
void |
setLongValues(java.lang.Long[] invalues)
Sets the Long values of the property |
void |
setName(java.lang.String name)
Sets the name of the property |
void |
setStringValues(java.lang.String[] invalues)
Sets the String values of the property |
void |
setType(java.lang.String type)
Sets the type of the property |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TYPE_BINARY
public static final java.lang.String TYPE_BOOLEAN
public static final java.lang.String TYPE_DATE
public static final java.lang.String TYPE_DOUBLE
public static final java.lang.String TYPE_LONG
public static final java.lang.String TYPE_STRING
Constructor Detail |
---|
public CmsProperty(java.lang.String namein, java.lang.String[] valuesin)
namein
- The name of the propertyvaluesin
- The array of String valuespublic CmsProperty(java.lang.String namein, java.lang.Long[] valuesin)
namein
- The name of the propertyvaluesin
- The array of Long valuespublic CmsProperty(java.lang.String namein, java.lang.Double[] valuesin)
namein
- The name of the propertyvaluesin
- The array of Double valuespublic CmsProperty(java.lang.String namein, java.util.Calendar[] valuesin)
namein
- The name of the propertyvaluesin
- The array of Calendar valuespublic CmsProperty(java.lang.String namein, java.lang.Boolean[] valuesin)
namein
- The name of the propertyvaluesin
- The array of Boolean valuespublic CmsProperty(java.lang.String namein, java.io.InputStream[] valuesin)
namein
- The name of the propertyvaluesin
- The array of InputStream valuesMethod Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the propertypublic java.lang.String getType()
public void setType(java.lang.String type)
type
- The type of the propertypublic java.lang.String[] getStringValues()
public void setStringValues(java.lang.String[] invalues)
invalues
- Array of the String values of the propertypublic java.io.InputStream[] getBinaryValues()
public void setBinaryValues(java.io.InputStream[] invalues)
invalues
- Array of the InputStream values of the propertypublic java.lang.Long[] getLongValues()
public void setLongValues(java.lang.Long[] invalues)
invalues
- Array of the Long values of the propertypublic java.lang.Double[] getDoubleValues()
public void setDoubleValues(java.lang.Double[] invalues)
invalues
- Array of the Double values of the propertypublic java.lang.Boolean[] getBooleanValues()
public void setBooleanValues(java.lang.Boolean[] invalues)
invalues
- Array of the Boolean values of the propertypublic java.util.Calendar[] getDateValues()
public void setDateValues(java.util.Calendar[] invalues)
invalues
- Array of the Calendar values of the property
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |