nl.gx.webmanager.services.contentrepresentation.difference
Class Changed

java.lang.Object
  extended by nl.gx.webmanager.services.contentrepresentation.difference.Difference
      extended by nl.gx.webmanager.services.contentrepresentation.difference.Changed

public class Changed
extends Difference

Holds a list of changes between two versions of the same object.

See Also:
Utilities.diff(ContentRepresentation,ContentRepresentation)

Constructor Summary
Changed(java.lang.String firstContentType, java.lang.String secondContentType, WmId firstWmId, WmId secondWmId, java.util.Set<java.lang.String> firstInterfaceNames, java.util.Set<java.lang.String> secondInterfaceNames)
           
 
Method Summary
 void add(DifferenceEntry entry)
           
 java.util.List<DifferenceEntry> getEntries()
           
 java.lang.String getFirstContentType()
          The content type of the first content representation.
 java.util.Set<java.lang.String> getFirstInterfaceNames()
          The interface names of the first content representation.
 WmId getFirstWmId()
          The wmId the first content representation.
 java.lang.String getSecondContentType()
          The content type of the second content representation.
 java.util.Set<java.lang.String> getSecondInterfaceNames()
          The interface names of the second content representation.
 WmId getSecondWmId()
          The wmId the second content representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Changed

public Changed(java.lang.String firstContentType,
               java.lang.String secondContentType,
               WmId firstWmId,
               WmId secondWmId,
               java.util.Set<java.lang.String> firstInterfaceNames,
               java.util.Set<java.lang.String> secondInterfaceNames)
Method Detail

add

public void add(DifferenceEntry entry)

getEntries

public java.util.List<DifferenceEntry> getEntries()

getFirstContentType

public java.lang.String getFirstContentType()
The content type of the first content representation.

Returns:
Content type string.
See Also:
ContentRepresentation.getContentType()

getSecondContentType

public java.lang.String getSecondContentType()
The content type of the second content representation.

Returns:
Content type string.
See Also:
ContentRepresentation.getContentType()

getFirstWmId

public WmId getFirstWmId()
The wmId the first content representation.

Returns:
wmId.
See Also:
ContentRepresentation.getWmId()

getSecondWmId

public WmId getSecondWmId()
The wmId the second content representation.

Returns:
wmId.
See Also:
ContentRepresentation.getWmId()

getFirstInterfaceNames

public java.util.Set<java.lang.String> getFirstInterfaceNames()
The interface names of the first content representation.

Returns:
interface names.
See Also:
ContentRepresentation.getInterfaceNames()

getSecondInterfaceNames

public java.util.Set<java.lang.String> getSecondInterfaceNames()
The interface names of the second content representation.

Returns:
interface names.
See Also:
ContentRepresentation.getInterfaceNames()


Copyright © 2007-2010 GX creative online development BV. All Rights Reserved.