org.axway.grapes.commons.datamodel
Class Organization

java.lang.Object
  extended by org.axway.grapes.commons.datamodel.Organization

public class Organization
extends Object

Organization Model Class

Model Objects are used in the communication with the Grapes server. These objects are serialized/un-serialized in JSON objects to be exchanged via http REST calls.

Author:
jdcoffre

Constructor Summary
protected Organization()
           
 
Method Summary
 boolean equals(Object obj)
          Checks if the organization is the same than an other one.
 List<String> getCorporateGroupIdPrefixes()
           
 String getName()
           
 int hashCode()
           
 void setCorporateGroupIdPrefixes(List<String> corporateGroupIdPrefixes)
           
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Organization

protected Organization()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getCorporateGroupIdPrefixes

public List<String> getCorporateGroupIdPrefixes()

setCorporateGroupIdPrefixes

public void setCorporateGroupIdPrefixes(List<String> corporateGroupIdPrefixes)

equals

public boolean equals(Object obj)
Checks if the organization is the same than an other one.

Overrides:
equals in class Object
Parameters:
obj - Object
Returns:
true only if grId/arId/classifier/version are the same in both.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014. All Rights Reserved.