org.overlord.sramp.ui.shared.beans
Class ArtifactDetails

java.lang.Object
  extended by org.overlord.sramp.ui.shared.beans.ArtifactSummary
      extended by org.overlord.sramp.ui.shared.beans.ArtifactDetails
All Implemented Interfaces:
Serializable

public class ArtifactDetails
extends ArtifactSummary
implements Serializable

Models the full details of an s-ramp artifact. This is a heavy-weight object and should never be returned as part of a list. Lists of artifacts should always be made up of ArtifactSummary objects.

Author:
eric.wittmann@redhat.com
See Also:
Serialized Form

Constructor Summary
ArtifactDetails()
          Constructor.
 
Method Summary
 void addClassifiedBy(String classification)
           
 void addRelationship(RelationshipDetails relationship)
          Adds a single relationship.
 List<String> getClassifiedBy()
           
 List<RelationshipDetails> getRelationships()
           
 String getUpdatedBy()
           
 void setRelationships(List<RelationshipDetails> relationships)
           
 void setUpdatedBy(String updatedBy)
           
 
Methods inherited from class org.overlord.sramp.ui.shared.beans.ArtifactSummary
equals, getCreatedBy, getCreatedOn, getDescription, getModel, getName, getProperty, getPropertyNames, getType, getUpdatedOn, getUuid, hashCode, isDerived, setCreatedBy, setCreatedOn, setDerived, setDescription, setModel, setName, setProperty, setType, setUpdatedOn, setUuid
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactDetails

public ArtifactDetails()
Constructor.

Method Detail

getUpdatedBy

public String getUpdatedBy()
Returns:
the updatedBy

setUpdatedBy

public void setUpdatedBy(String updatedBy)
Parameters:
updatedBy - the updatedBy to set

getClassifiedBy

public List<String> getClassifiedBy()
Returns:
the classifiedBy

addClassifiedBy

public void addClassifiedBy(String classification)
Parameters:
classification -

getRelationships

public List<RelationshipDetails> getRelationships()
Returns:
the relationships

setRelationships

public void setRelationships(List<RelationshipDetails> relationships)
Parameters:
relationships - the relationships to set

addRelationship

public void addRelationship(RelationshipDetails relationship)
Adds a single relationship.

Parameters:
relationship -


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