org.overlord.sramp.ui.client.places
Class ArtifactPlace

java.lang.Object
  extended by com.google.gwt.place.shared.Place
      extended by org.overlord.sramp.ui.client.places.AbstractPlace
          extended by org.overlord.sramp.ui.client.places.ArtifactPlace

public class ArtifactPlace
extends AbstractPlace

Place: /dashboard/browse/artifact This place represents the detail page for a single artifact. This place requires the UUID of an artifact to work properly.

Author:
eric.wittmann@redhat.com

Nested Class Summary
static class ArtifactPlace.Tokenizer
           
 
Field Summary
 
Fields inherited from class com.google.gwt.place.shared.Place
NOWHERE
 
Constructor Summary
ArtifactPlace(String model, String type, String uuid)
          Constructor.
 
Method Summary
 boolean equals(Object obj)
           
 String getModel()
           
 Object[] getTitleParams()
          Gets the parameters that should be passed to the ILocalizationService when resolving the localized title for this place.
 String getType()
           
 String getUuid()
           
 void setModel(String model)
           
 void setType(String type)
           
 void setUuid(String uuid)
           
 
Methods inherited from class org.overlord.sramp.ui.client.places.AbstractPlace
getTitleKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactPlace

public ArtifactPlace(String model,
                     String type,
                     String uuid)
Constructor.

Parameters:
model -
type -
uuid -
Method Detail

getTitleParams

public Object[] getTitleParams()
Description copied from class: AbstractPlace
Gets the parameters that should be passed to the ILocalizationService when resolving the localized title for this place. Subclasses can override this to provide the params passed.

Overrides:
getTitleParams in class AbstractPlace
See Also:
AbstractPlace.getTitleParams()

getUuid

public String getUuid()
Returns:
the uuid

setUuid

public void setUuid(String uuid)
Parameters:
uuid - the uuid to set

getType

public String getType()
Returns:
the type

setType

public void setType(String type)
Parameters:
type - the type to set

getModel

public String getModel()
Returns:
the model

setModel

public void setModel(String model)
Parameters:
model - the model to set

equals

public boolean equals(Object obj)
Specified by:
equals in class AbstractPlace
See Also:
Object.equals(java.lang.Object)


Copyright © 2012-2013 JBoss, a division of Red Hat. All Rights Reserved.