You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by sm...@apache.org on 2018/09/01 00:01:18 UTC

directory-fortress-core git commit: typeName is transient

Repository: directory-fortress-core
Updated Branches:
  refs/heads/master 77a740c88 -> 2423f8b46


typeName is transient


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/commit/2423f8b4
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/tree/2423f8b4
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-core/diff/2423f8b4

Branch: refs/heads/master
Commit: 2423f8b466a74da756dedb82dd5252fd134d836a
Parents: 77a740c
Author: Shawn McKinney <sm...@apache.org>
Authored: Fri Aug 31 18:24:03 2018 -0500
Committer: Shawn McKinney <sm...@apache.org>
Committed: Fri Aug 31 18:24:03 2018 -0500

----------------------------------------------------------------------
 .../directory/fortress/core/model/RoleConstraint.java       | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-core/blob/2423f8b4/src/main/java/org/apache/directory/fortress/core/model/RoleConstraint.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/directory/fortress/core/model/RoleConstraint.java b/src/main/java/org/apache/directory/fortress/core/model/RoleConstraint.java
index 769e0ae..4422e0a 100644
--- a/src/main/java/org/apache/directory/fortress/core/model/RoleConstraint.java
+++ b/src/main/java/org/apache/directory/fortress/core/model/RoleConstraint.java
@@ -28,6 +28,7 @@ import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlEnum;
 import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlTransient;
 import javax.xml.bind.annotation.XmlType;
 
 /**
@@ -37,12 +38,12 @@ import javax.xml.bind.annotation.XmlType;
  */
 @XmlRootElement( name = "fortRoleConstraint" )
 @XmlAccessorType( XmlAccessType.FIELD )
-@XmlType( name = "roleConstraint", propOrder = {
+@XmlType( name = "roleConstraint", propOrder =
+{
     "id",
     "key",
     "value",
     "type",
-    "typeName"
 } )
 
 /**
@@ -51,9 +52,7 @@ import javax.xml.bind.annotation.XmlType;
  */
 public class RoleConstraint extends FortEntity implements Serializable
 {
-
     private static final long serialVersionUID = 1L;
-
     public static final String RC_TYPE_NAME = "type";
 
     /**
@@ -74,11 +73,11 @@ public class RoleConstraint extends FortEntity implements Serializable
     private RCType type;
     private String value;
     private String key;
+    @XmlTransient
     private String typeName;
 
     public RoleConstraint()
     {
-
     }
 
     public RoleConstraint(String id, String value, RCType type, String key)