magoffin.matt.ma2.biz.impl
Class JAXBDomainObjectFactory

java.lang.Object
  extended by magoffin.matt.ma2.biz.impl.JAXBDomainObjectFactory
All Implemented Interfaces:
DomainObjectFactory

public class JAXBDomainObjectFactory
extends java.lang.Object
implements DomainObjectFactory

JAXB implementation of DomainObjectFactory.

Version:
$Revision: 111 $ $Date: 2008-02-16 14:27:47 +1300 (Sat, 16 Feb 2008) $
Author:
matt.magoffin

Constructor Summary
JAXBDomainObjectFactory()
           
 
Method Summary
 java.lang.Object clone(java.lang.Object original)
          Clone a domain object.
 java.lang.String[] getAlbumPropertiesDoNotClone()
           
 java.lang.String[] getCollectionPropertiesDoNotClone()
           
 java.lang.String[] getMediaItemPropertiesDoNotClone()
           
 AlbumImportType newAlbumImportTypeInstance()
          Get a new AlbumImportType instance.
 Album newAlbumInstance()
          Get a new Album instance.
 AlbumSearchResult newAlbumSearchResultInstance()
          Get a new AlbumSearchResult instance.
 CollectionImport newCollectionImportInstance()
          Get a new CollectionImport instance.
 Collection newCollectionInstance()
          Get a new Collection instance.
 CollectionListItemType newCollectionListItemTypeInstance()
          Get a new CollectionListItemType instance.
 Edit newEditInstance()
          Get a new Edit instance.
 GetCollectionListRequest newGetCollectionListRequestInstance()
          Get a new GetCollectionListRequest instance.
 GetCollectionListResponse newGetCollectionListResponseInstance()
          Get a new GetCollectionListResponse instance.
 ItemImportType newItemImportTypeInstance()
          Get a new ItemImportType instance.
 JobInfo newJobInfoInstance()
          Return a new JobInfo instance.
 KeyNameType newKeyNameTypeInstance()
          Return a new KeyNameType instance.
 Locale newLocaleInstance()
          Return a new Locale instance.
 MediaItem newMediaItemInstance()
          Get a new MediaItem instance.
 MediaItemRating newMediaItemRatingInstance()
          Get a new MediaItemRating instance.
 MediaItemSearchResult newMediaItemSearchResultInstance()
          Get a new MediaItemSearchResult instance.
 MediaSizeDefinition newMediaSizeDefinitionInstance()
          Get a new MediaSizeDefinition instance.
 MediaSpec newMediaSpecInstance()
          Get a new MediaSpec instance.
 MetadataImportType newMetadataImportTypeInstance()
          Get a new MetadataImportType instance.
 Metadata newMetadataInstance()
          Get a new Metadata instance.
 Model newModelInstance()
          Get a new Model instance.
 PaginationCriteria newPaginationCriteriaInstance()
          Get a new PaginationCriteria instance.
 PaginationIndex newPaginationIndexInstance()
          Get a new PaginationIndex instance.
 PaginationIndexSection newPaginationIndexSectionInstance()
          Get a new PaginationIndexSection instance.
 PosterSearchResult newPosterSearchResultInstance()
          Get a new PosterSearchResult instance.
 SearchResults newSearchResultsInstance()
          Get a new SearchResults instance.
 Session newSessionInstance()
          Get a new Session instance.
 SharedAlbumSearchResult newSharedAlbumSearchResultInstance()
          Get a new SharedAlbumSearchResult instance.
 Theme newThemeInstance()
          Get a new Theme instance.
 TimeZone newTimeZoneInstance()
          Get a new TimeZone instance.
 UserComment newUserCommentInstance()
          Get a new UserComment instance.
 User newUserInstance()
          Get a new User instance.
 UserSearchResult newUserSearchResultInstance()
          Get a new UserSearchResult instance.
 UserTag newUserTagInstance()
          Get a new UserTag instance.
 magoffin.matt.xweb.XAppContext newXAppContextInstance()
          Get a new XAppContext instance.
 magoffin.matt.xweb.XwebParameter newXwebParameterInstance()
          Get a new XwebParameter instance.
 void setAlbumPropertiesDoNotClone(java.lang.String[] albumPropertiesDoNotClone)
           
 void setCollectionPropertiesDoNotClone(java.lang.String[] collectionPropertiesDoNotClone)
           
 void setMediaItemPropertiesDoNotClone(java.lang.String[] mediaItemPropertiesDoNotClone)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBDomainObjectFactory

public JAXBDomainObjectFactory()
Method Detail

newAlbumInstance

public Album newAlbumInstance()
Description copied from interface: DomainObjectFactory
Get a new Album instance.

Specified by:
newAlbumInstance in interface DomainObjectFactory
Returns:
new Album instance

newAlbumImportTypeInstance

public AlbumImportType newAlbumImportTypeInstance()
Description copied from interface: DomainObjectFactory
Get a new AlbumImportType instance.

Specified by:
newAlbumImportTypeInstance in interface DomainObjectFactory
Returns:
new AlbumImportType instance

newAlbumSearchResultInstance

public AlbumSearchResult newAlbumSearchResultInstance()
Description copied from interface: DomainObjectFactory
Get a new AlbumSearchResult instance.

Specified by:
newAlbumSearchResultInstance in interface DomainObjectFactory
Returns:
new AlbumSearchResult instance

newCollectionInstance

public Collection newCollectionInstance()
Description copied from interface: DomainObjectFactory
Get a new Collection instance.

Specified by:
newCollectionInstance in interface DomainObjectFactory
Returns:
new Collection instance

newCollectionImportInstance

public CollectionImport newCollectionImportInstance()
Description copied from interface: DomainObjectFactory
Get a new CollectionImport instance.

Specified by:
newCollectionImportInstance in interface DomainObjectFactory
Returns:
new CollectionImport instance

newUserInstance

public User newUserInstance()
Description copied from interface: DomainObjectFactory
Get a new User instance.

Specified by:
newUserInstance in interface DomainObjectFactory
Returns:
new User instance

newUserSearchResultInstance

public UserSearchResult newUserSearchResultInstance()
Description copied from interface: DomainObjectFactory
Get a new UserSearchResult instance.

Specified by:
newUserSearchResultInstance in interface DomainObjectFactory
Returns:
new UserSearchResult instance

newMediaItemSearchResultInstance

public MediaItemSearchResult newMediaItemSearchResultInstance()
Description copied from interface: DomainObjectFactory
Get a new MediaItemSearchResult instance.

Specified by:
newMediaItemSearchResultInstance in interface DomainObjectFactory
Returns:
new MediaItemSearchResult instance

newXAppContextInstance

public magoffin.matt.xweb.XAppContext newXAppContextInstance()
Description copied from interface: DomainObjectFactory
Get a new XAppContext instance.

Specified by:
newXAppContextInstance in interface DomainObjectFactory
Returns:
new XAppContext instance

newEditInstance

public Edit newEditInstance()
Description copied from interface: DomainObjectFactory
Get a new Edit instance.

Specified by:
newEditInstance in interface DomainObjectFactory
Returns:
new Edit instance

newJobInfoInstance

public JobInfo newJobInfoInstance()
Description copied from interface: DomainObjectFactory
Return a new JobInfo instance.

Specified by:
newJobInfoInstance in interface DomainObjectFactory
Returns:
new JobInfo instance

newMediaItemInstance

public MediaItem newMediaItemInstance()
Description copied from interface: DomainObjectFactory
Get a new MediaItem instance.

Specified by:
newMediaItemInstance in interface DomainObjectFactory
Returns:
new MediaItem instance

newMediaSpecInstance

public MediaSpec newMediaSpecInstance()
Description copied from interface: DomainObjectFactory
Get a new MediaSpec instance.

Specified by:
newMediaSpecInstance in interface DomainObjectFactory
Returns:
new MediaSpec instance

newMediaSizeDefinitionInstance

public MediaSizeDefinition newMediaSizeDefinitionInstance()
Description copied from interface: DomainObjectFactory
Get a new MediaSizeDefinition instance.

Specified by:
newMediaSizeDefinitionInstance in interface DomainObjectFactory
Returns:
new MediaSizeDefinition

newMetadataInstance

public Metadata newMetadataInstance()
Description copied from interface: DomainObjectFactory
Get a new Metadata instance.

Specified by:
newMetadataInstance in interface DomainObjectFactory
Returns:
new Metadata instance

newMetadataImportTypeInstance

public MetadataImportType newMetadataImportTypeInstance()
Description copied from interface: DomainObjectFactory
Get a new MetadataImportType instance.

Specified by:
newMetadataImportTypeInstance in interface DomainObjectFactory
Returns:
new MetadataImportType instance

newModelInstance

public Model newModelInstance()
Description copied from interface: DomainObjectFactory
Get a new Model instance.

Specified by:
newModelInstance in interface DomainObjectFactory
Returns:
new Model instance

newSessionInstance

public Session newSessionInstance()
Description copied from interface: DomainObjectFactory
Get a new Session instance.

Specified by:
newSessionInstance in interface DomainObjectFactory
Returns:
new Session instance

newSharedAlbumSearchResultInstance

public SharedAlbumSearchResult newSharedAlbumSearchResultInstance()
Description copied from interface: DomainObjectFactory
Get a new SharedAlbumSearchResult instance.

Specified by:
newSharedAlbumSearchResultInstance in interface DomainObjectFactory
Returns:
new SharedAlbumSearchResult

newTimeZoneInstance

public TimeZone newTimeZoneInstance()
Description copied from interface: DomainObjectFactory
Get a new TimeZone instance.

Specified by:
newTimeZoneInstance in interface DomainObjectFactory
Returns:
new TimeZone instance

newMediaItemRatingInstance

public MediaItemRating newMediaItemRatingInstance()
Description copied from interface: DomainObjectFactory
Get a new MediaItemRating instance.

Specified by:
newMediaItemRatingInstance in interface DomainObjectFactory
Returns:
new MediaItemRating instance

newThemeInstance

public Theme newThemeInstance()
Description copied from interface: DomainObjectFactory
Get a new Theme instance.

Specified by:
newThemeInstance in interface DomainObjectFactory
Returns:
new Theme instance

newPaginationCriteriaInstance

public PaginationCriteria newPaginationCriteriaInstance()
Description copied from interface: DomainObjectFactory
Get a new PaginationCriteria instance.

Specified by:
newPaginationCriteriaInstance in interface DomainObjectFactory
Returns:
new PaginationCriteria

newPaginationIndexInstance

public PaginationIndex newPaginationIndexInstance()
Description copied from interface: DomainObjectFactory
Get a new PaginationIndex instance.

Specified by:
newPaginationIndexInstance in interface DomainObjectFactory
Returns:
new PaginationIndex

newPaginationIndexSectionInstance

public PaginationIndexSection newPaginationIndexSectionInstance()
Description copied from interface: DomainObjectFactory
Get a new PaginationIndexSection instance.

Specified by:
newPaginationIndexSectionInstance in interface DomainObjectFactory
Returns:
new PaginationIndexSection instance

newPosterSearchResultInstance

public PosterSearchResult newPosterSearchResultInstance()
Description copied from interface: DomainObjectFactory
Get a new PosterSearchResult instance.

Specified by:
newPosterSearchResultInstance in interface DomainObjectFactory
Returns:
new PosterSearchResult instance

newSearchResultsInstance

public SearchResults newSearchResultsInstance()
Description copied from interface: DomainObjectFactory
Get a new SearchResults instance.

Specified by:
newSearchResultsInstance in interface DomainObjectFactory
Returns:
search results

newUserCommentInstance

public UserComment newUserCommentInstance()
Description copied from interface: DomainObjectFactory
Get a new UserComment instance.

Specified by:
newUserCommentInstance in interface DomainObjectFactory
Returns:
new UserComment instance

newUserTagInstance

public UserTag newUserTagInstance()
Description copied from interface: DomainObjectFactory
Get a new UserTag instance.

Specified by:
newUserTagInstance in interface DomainObjectFactory
Returns:
new UserTag instance

newKeyNameTypeInstance

public KeyNameType newKeyNameTypeInstance()
Description copied from interface: DomainObjectFactory
Return a new KeyNameType instance.

Specified by:
newKeyNameTypeInstance in interface DomainObjectFactory
Returns:
new KeyNameType instance

newLocaleInstance

public Locale newLocaleInstance()
Description copied from interface: DomainObjectFactory
Return a new Locale instance.

Specified by:
newLocaleInstance in interface DomainObjectFactory
Returns:
new Locale instance

newXwebParameterInstance

public magoffin.matt.xweb.XwebParameter newXwebParameterInstance()
Description copied from interface: DomainObjectFactory
Get a new XwebParameter instance.

Specified by:
newXwebParameterInstance in interface DomainObjectFactory
Returns:
the XwebParameter instance

newGetCollectionListRequestInstance

public GetCollectionListRequest newGetCollectionListRequestInstance()
Description copied from interface: DomainObjectFactory
Get a new GetCollectionListRequest instance.

Specified by:
newGetCollectionListRequestInstance in interface DomainObjectFactory
Returns:
the new GetCollectionListRequest instance

newGetCollectionListResponseInstance

public GetCollectionListResponse newGetCollectionListResponseInstance()
Description copied from interface: DomainObjectFactory
Get a new GetCollectionListResponse instance.

Specified by:
newGetCollectionListResponseInstance in interface DomainObjectFactory
Returns:
the new GetCollectionListResponse instance

newItemImportTypeInstance

public ItemImportType newItemImportTypeInstance()
Description copied from interface: DomainObjectFactory
Get a new ItemImportType instance.

Specified by:
newItemImportTypeInstance in interface DomainObjectFactory
Returns:
new ItemImportType instance

newCollectionListItemTypeInstance

public CollectionListItemType newCollectionListItemTypeInstance()
Description copied from interface: DomainObjectFactory
Get a new CollectionListItemType instance.

Specified by:
newCollectionListItemTypeInstance in interface DomainObjectFactory
Returns:
new CollectionListItemType instance

clone

public java.lang.Object clone(java.lang.Object original)
Description copied from interface: DomainObjectFactory
Clone a domain object.

Specified by:
clone in interface DomainObjectFactory
Parameters:
original - the object to clone
Returns:
the cloned object

getAlbumPropertiesDoNotClone

public java.lang.String[] getAlbumPropertiesDoNotClone()
Returns:
the albumPropertiesDoNotClone

setAlbumPropertiesDoNotClone

public void setAlbumPropertiesDoNotClone(java.lang.String[] albumPropertiesDoNotClone)
Parameters:
albumPropertiesDoNotClone - the albumPropertiesDoNotClone to set

getCollectionPropertiesDoNotClone

public java.lang.String[] getCollectionPropertiesDoNotClone()
Returns:
the collectionPropertiesDoNotClone

setCollectionPropertiesDoNotClone

public void setCollectionPropertiesDoNotClone(java.lang.String[] collectionPropertiesDoNotClone)
Parameters:
collectionPropertiesDoNotClone - the collectionPropertiesDoNotClone to set

getMediaItemPropertiesDoNotClone

public java.lang.String[] getMediaItemPropertiesDoNotClone()
Returns:
the mediaItemPropertiesDoNotClone

setMediaItemPropertiesDoNotClone

public void setMediaItemPropertiesDoNotClone(java.lang.String[] mediaItemPropertiesDoNotClone)
Parameters:
mediaItemPropertiesDoNotClone - the mediaItemPropertiesDoNotClone to set