Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Select Git revision
  • b7f9adaf6453d0bdcd7218e14214730b62283505
  • amdm2/main default
  • doc-fixes
  • amdm3/develop
  • vehmetrics
  • feature/generic_vehicles_tests
  • trailer-stable
  • trailer
  • pubcode
  • bugfix/CodeEU-547_MaxICEOffTimespan
  • ci
  • stable protected
  • bugfix/CodeEU-235_Tyre_XML-type_VIF
  • revert-f849ae0c
  • Project_VECTO_FD_II/FMI/AMTShiftStratgy
  • Project_VECTO_FD_II/FMI/HybridController
  • feature/CodeEU-51_Extend-ADC-lossmap-declaration-mode
  • tug-dev
  • develop
  • hm_feature/vecto-40-add-nuget
  • tug-stable
  • Release/v4.1.0.3392-RC
  • Release/v4.0.3.3330
  • Release/v4.0.2.3275
  • Release/v4.0.2.3273
  • Release/v0.11.1.3228-DEV
  • Project_VECTO_FD_II/FMI/HybridController
  • Project_VECTO_FD_II/FMI/AMTShiftStrategy
  • Release/v4.0.1.3217
  • Release/v4.0.0.3211
  • Release/v0.11.0.3193-DEV
  • Release/v4.0.0.3161-RC
  • Release/v4.0.0.3106-RC
  • Release/v3.3.15.3102
  • Release/v4.0.0.3078-RC
  • Release/v3.3.15.3073-RC
  • test-tag
  • Release/v3.3.14.3011
  • Build/v0.7.10.2996
  • v0.7.5b0+2524.multistep
  • Release/v3.3.14.2981-RC
41 results

VectoLegacyTests.csproj

Blame
  • Forked from VECTO / VECTO Sim
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    GroupModel.java 1.90 KiB
    package rest.models;
    
    import utils.Generator;
    
    
    public class GroupModel {
        private String groupName;
        private String visibility;
        private String groupDescription;
        private Object actionMessage;
        private String groupId;
        private Long index;
        private Long status;
    
        public void setGroupName(String groupName) {
            this.groupName = groupName;
        }
    
        public void setVisibility(String visibility) {
            this.visibility = visibility;
        }
    
        public void setGroupDescription(String groupDescription) {
            this.groupDescription = groupDescription;
        }
    
        public void setActionMessage(Object actionMessage) {
            this.actionMessage = actionMessage;
        }
    
        public String getGroupId() {
            return groupId;
        }
    
        public void setGroupId(String groupId) {
            this.groupId = groupId;
        }
    
        public void setIndex(Long index) {
            this.index = index;
        }
    
        public void setStatus(Long status) {
            this.status = status;
        }
    
        public String getGroupName() {
            return groupName;
        }
        public String getVisibility() {
            return visibility;
        }
        public String getGroupDescription() {
            return groupDescription;
        }
    
        public static GroupModel generatePublicGroup() {
            GroupModel groupModel = new GroupModel();
            groupModel.groupName = ("AUT_groupName_" + Generator.randomAlphaNumeric(4)).toLowerCase();
            groupModel.groupDescription = Generator.randomAlphaNumeric(10).toLowerCase();
            groupModel.visibility = "PUBLIC";
            return groupModel;
        }
    
        public static GroupModel generatePrivateGroup() {
            GroupModel groupModel = new GroupModel();
            groupModel.groupName = ("AUT_groupName_" + Generator.randomAlphaNumeric(4)).toLowerCase();
            groupModel.groupDescription = Generator.randomAlphaNumeric(10).toLowerCase();
            groupModel.visibility = "PRIVATE";
            return groupModel;
        }
    
    }