-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
131 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
...dk-common/src/test/java/com/unboundid/scim2/common/schema/testobjects/TestEnumObject.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Copyright 2015-2018 Ping Identity Corporation | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License (GPLv2 only) | ||
* or the terms of the GNU Lesser General Public License (LGPLv2.1 only) | ||
* as published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, see <http://www.gnu.org/licenses>. | ||
*/ | ||
|
||
package com.unboundid.scim2.common.schema.testobjects; | ||
|
||
public enum TestEnumObject { | ||
/** | ||
* Test case 1. | ||
*/ | ||
CASE1, | ||
/** | ||
* Test case 2. | ||
*/ | ||
CASE2, | ||
/** | ||
* Test case 3. | ||
*/ | ||
CASE3 | ||
} |
45 changes: 45 additions & 0 deletions
45
...2-sdk-common/src/test/java/com/unboundid/scim2/common/schema/testobjects/TestObject4.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
* Copyright 2015-2018 Ping Identity Corporation | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License (GPLv2 only) | ||
* or the terms of the GNU Lesser General Public License (LGPLv2.1 only) | ||
* as published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, see <http://www.gnu.org/licenses>. | ||
*/ | ||
|
||
package com.unboundid.scim2.common.schema.testobjects; | ||
|
||
import com.unboundid.scim2.common.annotations.Attribute; | ||
import com.unboundid.scim2.common.annotations.Schema; | ||
|
||
@Schema(id="urn:com.unboundid:schemas:TestObject4", | ||
description = "description:TestObject4", name = "TestObject4") | ||
public class TestObject4 { | ||
|
||
@Attribute(description = "description:value") | ||
private TestEnumObject value; | ||
|
||
/** | ||
* Getter for attribute in test class. | ||
* @return attribute value. | ||
*/ | ||
public void setValue(TestEnumObject value) { | ||
this.value = value; | ||
} | ||
|
||
/** | ||
* Getter for attribute in test class. | ||
* @return attribute value. | ||
*/ | ||
public TestEnumObject getValue() { | ||
return value; | ||
} | ||
} |