nl.surfnet.coin.janus.domain
Class JanusEntity

java.lang.Object
  extended by nl.surfnet.coin.janus.domain.JanusEntity

public class JanusEntity
extends Object

Subset of the response you get for "getEntity" in the Janus Rest API

Full response:

Entity {eid=1087, entityid=http://mujina-sp-1087, revision=0, parent=null,
 revisionnote=No revision note, type=saml20-sp, allowedall=no, workflow=prodaccepted,
 metadataurl=null, prettyname=http://mujina-sp-1087, arp=3184, user=0}


Constructor Summary
JanusEntity(int eid, int revision)
           
JanusEntity(int eid, int revision, String entityId)
           
JanusEntity(int eid, String entityId)
           
 
Method Summary
static JanusEntity fromJanusResponse(Map<String,Object> janusResponse)
           
 int getEid()
           
 String getEntityId()
           
 String getPrettyName()
           
 int getRevision()
           
 String getType()
           
 String getWorkflowStatus()
           
 boolean isAllowAll()
           
 void setAllowAll(boolean allowAll)
           
 void setEid(int eid)
           
 void setEntityId(String entityId)
           
 void setPrettyName(String prettyName)
           
 void setRevision(int revision)
           
 void setType(String type)
           
 void setWorkflowStatus(String workflowStatus)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JanusEntity

public JanusEntity(int eid,
                   int revision)

JanusEntity

public JanusEntity(int eid,
                   String entityId)

JanusEntity

public JanusEntity(int eid,
                   int revision,
                   String entityId)
Method Detail

fromJanusResponse

public static JanusEntity fromJanusResponse(Map<String,Object> janusResponse)

getEntityId

public String getEntityId()

setEntityId

public void setEntityId(String entityId)

getRevision

public int getRevision()

setRevision

public void setRevision(int revision)

getWorkflowStatus

public String getWorkflowStatus()

setWorkflowStatus

public void setWorkflowStatus(String workflowStatus)

getType

public String getType()

setType

public void setType(String type)

isAllowAll

public boolean isAllowAll()

setAllowAll

public void setAllowAll(boolean allowAll)

getEid

public int getEid()

setEid

public void setEid(int eid)

getPrettyName

public String getPrettyName()

setPrettyName

public void setPrettyName(String prettyName)


Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.