com.gentics.contentnode.rest.model.migration
Class TemplateMigrationTagMapping

java.lang.Object
  extended by com.gentics.contentnode.rest.model.migration.TemplateMigrationTagMapping
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TemplateMigrationEditableTagMapping, TemplateMigrationNonEditableTagMapping

public class TemplateMigrationTagMapping
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
TemplateMigrationTagMapping()
           
 
Method Summary
 Integer getFromTagId()
          Returns the source or from template tag for this mapping
 Integer getToTagId()
          Returns the target or to template tag for this mapping
 boolean isMarkedAsNotMapped()
          Checks whether this mapping was marked as not mapped.
 void setFromTagId(Integer fromTagId)
          Sets the source or from template tag for this mapping
 void setToTagId(Integer toTagId)
          Sets the target or to template tag for this mapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateMigrationTagMapping

public TemplateMigrationTagMapping()
Method Detail

getFromTagId

public Integer getFromTagId()
Returns the source or from template tag for this mapping

Returns:

setFromTagId

public void setFromTagId(Integer fromTagId)
Sets the source or from template tag for this mapping

Parameters:
fromTag -

getToTagId

public Integer getToTagId()
Returns the target or to template tag for this mapping

Returns:

setToTagId

public void setToTagId(Integer toTagId)
Sets the target or to template tag for this mapping

Parameters:
toTag -

isMarkedAsNotMapped

public boolean isMarkedAsNotMapped()
Checks whether this mapping was marked as not mapped. This is done by setting the toTagId to -1

Returns:


Copyright © 2014 Gentics Software GmbH. All Rights Reserved.