com.adactus.mpeg21.didl.entity
Class FragmentType

java.lang.Object
  extended by com.adactus.mpeg21.didl.entity.DIDLBaseType
      extended by com.adactus.mpeg21.didl.entity.DIDLChildType
          extended by com.adactus.mpeg21.didl.entity.FragmentType
All Implemented Interfaces:
Fragment, java.io.Serializable, javolution.lang.Reusable

public class FragmentType
extends DIDLChildType
implements Fragment, javolution.lang.Reusable

A Fragment element indicates a part of interest in a resource

See Also:
Serialized Form

Field Summary
static java.lang.String ELEMENT_NAME
           
 
Constructor Summary
FragmentType()
           
 
Method Summary
 java.lang.String getFragmentIdentifier()
          Get the identifier of this element.
 DIDLParentType getParent()
           
static FragmentType newInstance()
           
static void recycle(FragmentType type)
           
 void reset()
           
 void setFragmentIdentifier(java.lang.String fragmentId)
           
 void setParent(DIDLParentType parent)
           
 
Methods inherited from class com.adactus.mpeg21.didl.entity.DIDLChildType
getId, setId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEMENT_NAME

public static final java.lang.String ELEMENT_NAME
See Also:
Constant Field Values
Constructor Detail

FragmentType

public FragmentType()
Method Detail

getFragmentIdentifier

public java.lang.String getFragmentIdentifier()
Description copied from interface: Fragment
Get the identifier of this element. The identifier must be unique within a digital item.

Specified by:
getFragmentIdentifier in interface Fragment
Returns:
an string value

getParent

public DIDLParentType getParent()

newInstance

public static FragmentType newInstance()

recycle

public static void recycle(FragmentType type)

reset

public void reset()
Specified by:
reset in interface javolution.lang.Reusable

setFragmentIdentifier

public void setFragmentIdentifier(java.lang.String fragmentId)

setParent

public void setParent(DIDLParentType parent)