public class Segment
extends java.lang.Object
The properties of a segment are exactly those returned by the Adobe Target API, with no modification.
Constructor and Description |
---|
Segment() |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getCreated() |
java.lang.String |
getCreatedBy() |
java.lang.String |
getDescription() |
boolean |
getHidden() |
long |
getId() |
java.util.Map<java.lang.String,java.lang.String> |
getMarketingCloudMetadata()
Segment metadata information
Contains following information keys: sourceProductName, editURL, remoteModifiedBy
Present starting with TnT segments API v7
|
java.util.Date |
getModified() |
java.lang.String |
getModifiedBy() |
java.lang.String |
getName() |
java.lang.String |
getPath() |
java.lang.String |
getSegmentRule() |
java.lang.String |
getSource()
Returns this segments's source, i.e.
|
java.lang.String |
getType()
Segment type [reusable|anonymous]
Present starting with TnT segments API v7
|
void |
setCreated(java.util.Date created) |
void |
setCreatedBy(java.lang.String createdBy) |
void |
setDescription(java.lang.String description) |
void |
setHidden(boolean hidden) |
void |
setId(long id) |
void |
setMarketingCloudMetadata(java.util.Map<java.lang.String,java.lang.String> metadata) |
void |
setModified(java.util.Date modified) |
void |
setModifiedBy(java.lang.String modifiedBy) |
void |
setName(java.lang.String name) |
void |
setPath(java.lang.String path) |
void |
setSegmentRule(java.lang.String segmentRule) |
void |
setSource(java.lang.String source) |
void |
setType(java.lang.String type) |
java.lang.String |
toString() |
public long getId()
public void setId(long id)
public java.lang.String getPath()
public void setPath(java.lang.String path)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getSegmentRule()
public void setSegmentRule(java.lang.String segmentRule)
public java.util.Date getCreated()
public void setCreated(java.util.Date created)
public java.lang.String getCreatedBy()
public void setCreatedBy(java.lang.String createdBy)
public java.util.Date getModified()
public void setModified(java.util.Date modified)
public java.lang.String getModifiedBy()
public void setModifiedBy(java.lang.String modifiedBy)
public boolean getHidden()
public void setHidden(boolean hidden)
public java.lang.String getType()
String
public void setType(java.lang.String type)
public java.util.Map<java.lang.String,java.lang.String> getMarketingCloudMetadata()
Map
public void setMarketingCloudMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
public java.lang.String getSource()
String
object representing the source. This string representation is the one from Target
with no formatting applied. It's the caller's job to map this source name to actual solution names (e.g. for
Target the source is tnt
)public void setSource(java.lang.String source)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved