use of cz.metacentrum.perun.core.api.AttributeDefinition in project perun by CESNET.
the class urn_perun_member_attribute_def_def_organization method getAttributeDefinition.
public AttributeDefinition getAttributeDefinition() {
AttributeDefinition attr = new AttributeDefinition();
attr.setNamespace(AttributesManager.NS_MEMBER_ATTR_DEF);
attr.setFriendlyName("organization");
attr.setDisplayName("Organization (for VO)");
attr.setType(String.class.getName());
attr.setDescription("Organization, from which user comes from.");
return attr;
}
use of cz.metacentrum.perun.core.api.AttributeDefinition in project perun by CESNET.
the class urn_perun_resource_attribute_def_virt_voShortName method getAttributeDefinition.
public AttributeDefinition getAttributeDefinition() {
AttributeDefinition attr = new AttributeDefinition();
attr.setNamespace(AttributesManager.NS_VO_ATTR_VIRT);
attr.setFriendlyName("voShortName");
attr.setDisplayName("Short name of VO");
attr.setType(String.class.getName());
attr.setDescription("Short name of VO where this resource is assigned");
return attr;
}
use of cz.metacentrum.perun.core.api.AttributeDefinition in project perun by CESNET.
the class urn_perun_user_attribute_def_def_cnCeitecAD method getAttributeDefinition.
@Override
public AttributeDefinition getAttributeDefinition() {
AttributeDefinition attr = new AttributeDefinition();
attr.setNamespace(AttributesManager.NS_USER_ATTR_DEF);
attr.setFriendlyName("cnCeitecAD");
attr.setDisplayName("CN in CEITEC AD");
attr.setType(String.class.getName());
attr.setDescription("Users CN in CEITEC AD, it must have form of \"lastName firstName [number]\" where number starts with 2 for users with same name.");
return attr;
}
use of cz.metacentrum.perun.core.api.AttributeDefinition in project perun by CESNET.
the class urn_perun_resource_attribute_def_virt_unixGID method getAttributeDefinition.
public AttributeDefinition getAttributeDefinition() {
AttributeDefinition attr = new AttributeDefinition();
attr.setNamespace(AttributesManager.NS_RESOURCE_ATTR_VIRT);
attr.setFriendlyName("unixGID");
attr.setDisplayName("Unix GID");
attr.setType(Integer.class.getName());
attr.setDescription("Unix GID");
return attr;
}
use of cz.metacentrum.perun.core.api.AttributeDefinition in project perun by CESNET.
the class urn_perun_resource_attribute_def_def_openNebulaGroupName method getAttributeDefinition.
public AttributeDefinition getAttributeDefinition() {
AttributeDefinition attr = new AttributeDefinition();
attr.setNamespace(AttributesManager.NS_RESOURCE_ATTR_DEF);
attr.setFriendlyName("openNebulaGroupName");
attr.setDisplayName("OpenNebula Group Name");
attr.setType(String.class.getName());
attr.setDescription("Name of group in OpenNebula defined by resource in Perun");
return attr;
}
Aggregations