org.apache.jetspeed.om.impl
Class DescriptionSetImpl

java.lang.Object
  extended by org.apache.jetspeed.om.impl.DescriptionSetImpl
All Implemented Interfaces:
java.io.Serializable, MutableDescriptionSet, org.apache.pluto.om.common.DescriptionSet, org.apache.pluto.om.Model

public class DescriptionSetImpl
extends java.lang.Object
implements MutableDescriptionSet, java.io.Serializable

BaseDescriptionSet Supports

Version:
$Id: DescriptionSetImpl.java 516448 2007-03-09 16:25:47Z ate $
Author:
Scott T. Weaver
See Also:
Serialized Form

Field Summary
protected  java.lang.String descriptionType
          Specifies the type Description we are storing
protected  java.util.Collection innerCollection
           
 
Constructor Summary
DescriptionSetImpl()
           
DescriptionSetImpl(java.util.Collection c)
           
DescriptionSetImpl(java.lang.String descriptionType)
           
 
Method Summary
 void addDescription(org.apache.pluto.om.common.Description description)
           
 org.apache.pluto.om.common.Description get(java.util.Locale arg0)
           
 java.util.Collection getInnerCollection()
           
 java.util.Iterator iterator()
           
 void setInnerCollection(java.util.Collection collection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

descriptionType

protected java.lang.String descriptionType
Specifies the type Description we are storing


innerCollection

protected java.util.Collection innerCollection
Constructor Detail

DescriptionSetImpl

public DescriptionSetImpl()

DescriptionSetImpl

public DescriptionSetImpl(java.util.Collection c)
Parameters:
c -

DescriptionSetImpl

public DescriptionSetImpl(java.lang.String descriptionType)
Method Detail

get

public org.apache.pluto.om.common.Description get(java.util.Locale arg0)
Specified by:
get in interface org.apache.pluto.om.common.DescriptionSet
See Also:
DescriptionSet.get(java.util.Locale)

addDescription

public void addDescription(org.apache.pluto.om.common.Description description)
Specified by:
addDescription in interface MutableDescriptionSet
See Also:
org.apache.jetspeed.om.common.MutableDescriptionSet#addDescription(java.lang.String)

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface org.apache.pluto.om.common.DescriptionSet
See Also:
DescriptionSet.iterator()

getInnerCollection

public java.util.Collection getInnerCollection()
Returns:

setInnerCollection

public void setInnerCollection(java.util.Collection collection)
Parameters:
collection -


Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.