org.infoglue.cms.entities.management
Class ContentTypeAttributeParameter

java.lang.Object
  extended by org.infoglue.cms.entities.management.ContentTypeAttributeParameter

public class ContentTypeAttributeParameter
extends java.lang.Object

This is a pure javabean carrying the information about one content type attribute parameter. The parameters are used to carry information about a certain extra parameter belonging to an attribute. For example - a simple attribute might have attributes steering which default value it should have or which label the attribute should have visible to the user. To support for example lists of values in a parameter the lists are allways used.


Field Summary
static int MULTI_VALUE_TYPE
           
static int SINGLE_VALUE_TYPE
           
 
Constructor Summary
ContentTypeAttributeParameter()
           
 
Method Summary
 void addContentTypeAttributeParameterValue(java.lang.String key, ContentTypeAttributeParameterValue contentTypeAttributeParameterValue)
           
 ContentTypeAttributeParameterValue getContentTypeAttributeParameterValue()
           
 ContentTypeAttributeParameterValue getContentTypeAttributeParameterValue(java.lang.String key)
           
 java.util.LinkedHashMap getContentTypeAttributeParameterValues()
           
 java.lang.String getId()
           
 int getType()
           
 void setId(java.lang.String id)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLE_VALUE_TYPE

public static final int SINGLE_VALUE_TYPE
See Also:
Constant Field Values

MULTI_VALUE_TYPE

public static final int MULTI_VALUE_TYPE
See Also:
Constant Field Values
Constructor Detail

ContentTypeAttributeParameter

public ContentTypeAttributeParameter()
Method Detail

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

getType

public int getType()

setType

public void setType(int type)

addContentTypeAttributeParameterValue

public void addContentTypeAttributeParameterValue(java.lang.String key,
                                                  ContentTypeAttributeParameterValue contentTypeAttributeParameterValue)

getContentTypeAttributeParameterValue

public ContentTypeAttributeParameterValue getContentTypeAttributeParameterValue()

getContentTypeAttributeParameterValue

public ContentTypeAttributeParameterValue getContentTypeAttributeParameterValue(java.lang.String key)

getContentTypeAttributeParameterValues

public java.util.LinkedHashMap getContentTypeAttributeParameterValues()


Copyright © 2005 InfoGlue.org All Rights Reserved.