Skip navigation links


com.fatwire.services.beans.entity
Class DestinationBean

java.lang.Object
  extended by com.fatwire.services.beans.BaseBean
      extended by com.fatwire.services.beans.entity.DestinationBean

All Implemented Interfaces:
java.io.Serializable

public class DestinationBean
extends BaseBean

The DestinationBean is the value object used by services handling approval and publishing. It represents a destination instance and provides the following information:

See Also:
State, DestinationBean.Type, Serialized Form

Nested Class Summary
static class DestinationBean.Type
          Enumerates all the supported destination types.

 

Constructor Summary
DestinationBean()
           

 

Method Summary
 long getId()
          Returns the identifier for this destination.
 java.lang.String getName()
          Returns the name of this destination.
 DestinationBean.Type getType()
          Returns the type of this destination.
 void setId(long id)
          Sets the identifier for this destination.
 void setName(java.lang.String name)
          Sets the name for this destination.
 void setType(DestinationBean.Type type)
          Sets the type of this destination.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DestinationBean

public DestinationBean()

Method Detail

getType

public DestinationBean.Type getType()
Returns the type of this destination.
Returns:
the delivery type.
See Also:
DestinationBean.Type

setType

public void setType(DestinationBean.Type type)
Sets the type of this destination.
Parameters:
type - the delivery type to set.
See Also:
DestinationBean.Type

setId

public void setId(long id)
Sets the identifier for this destination.
Parameters:
id - the id to set.

setName

public void setName(java.lang.String name)
Sets the name for this destination.
Parameters:
name - the name to set.

getId

public long getId()
Returns the identifier for this destination.
Returns:
the id.

getName

public java.lang.String getName()
Returns the name of this destination.
Returns:
the name.

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.