Skip to content

Commit

Permalink
Added common descriptive types
Browse files Browse the repository at this point in the history
  • Loading branch information
scottbw committed Jun 21, 2012
1 parent 188e443 commit 50f3bc0
Show file tree
Hide file tree
Showing 7 changed files with 315 additions and 0 deletions.
45 changes: 45 additions & 0 deletions src/org/xcri/common/descriptive/Abstract.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/**
* Copyright (c) 2011 University of Bolton
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify,
* merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to the following
* conditions:
* The above copyright notice and this permission notice shall be included in all copies
* or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
* PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
* OR OTHER DEALINGS IN THE SOFTWARE.
*/

package org.xcri.common.descriptive;

import org.jdom.Namespace;
import org.xcri.Namespaces;
import org.xcri.types.DescriptiveTextType;

public class Abstract extends DescriptiveTextType{

/* (non-Javadoc)
* @see org.xcri.XcriElement#getNamespace()
*/
@Override
public Namespace getNamespace() {
return Namespaces.XCRI_NAMESPACE_NS;
}

/* (non-Javadoc)
* @see org.xcri.XcriElement#getName()
*/
@Override
public String getName() {
return "abstract";
}

}
45 changes: 45 additions & 0 deletions src/org/xcri/common/descriptive/ApplicationProcedure.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/**
* Copyright (c) 2011 University of Bolton
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify,
* merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to the following
* conditions:
* The above copyright notice and this permission notice shall be included in all copies
* or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
* PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
* OR OTHER DEALINGS IN THE SOFTWARE.
*/

package org.xcri.common.descriptive;

import org.jdom.Namespace;
import org.xcri.Namespaces;
import org.xcri.types.DescriptiveTextType;

public class ApplicationProcedure extends DescriptiveTextType{

/* (non-Javadoc)
* @see org.xcri.XcriElement#getNamespace()
*/
@Override
public Namespace getNamespace() {
return Namespaces.XCRI_NAMESPACE_NS;
}

/* (non-Javadoc)
* @see org.xcri.XcriElement#getName()
*/
@Override
public String getName() {
return "applicationProcedure";
}

}
45 changes: 45 additions & 0 deletions src/org/xcri/common/descriptive/Assessment.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/**
* Copyright (c) 2011 University of Bolton
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify,
* merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to the following
* conditions:
* The above copyright notice and this permission notice shall be included in all copies
* or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
* PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
* OR OTHER DEALINGS IN THE SOFTWARE.
*/

package org.xcri.common.descriptive;

import org.jdom.Namespace;
import org.xcri.Namespaces;
import org.xcri.types.DescriptiveTextType;

public class Assessment extends DescriptiveTextType{

/* (non-Javadoc)
* @see org.xcri.XcriElement#getNamespace()
*/
@Override
public Namespace getNamespace() {
return Namespaces.MLO_NAMESPACE_NS;
}

/* (non-Javadoc)
* @see org.xcri.XcriElement#getName()
*/
@Override
public String getName() {
return "assessment";
}

}
45 changes: 45 additions & 0 deletions src/org/xcri/common/descriptive/LearningOutcome.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/**
* Copyright (c) 2011 University of Bolton
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify,
* merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to the following
* conditions:
* The above copyright notice and this permission notice shall be included in all copies
* or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
* PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
* OR OTHER DEALINGS IN THE SOFTWARE.
*/

package org.xcri.common.descriptive;

import org.jdom.Namespace;
import org.xcri.Namespaces;
import org.xcri.types.DescriptiveTextType;

public class LearningOutcome extends DescriptiveTextType{

/* (non-Javadoc)
* @see org.xcri.XcriElement#getNamespace()
*/
@Override
public Namespace getNamespace() {
return Namespaces.XCRI_NAMESPACE_NS;
}

/* (non-Javadoc)
* @see org.xcri.XcriElement#getName()
*/
@Override
public String getName() {
return "learningOutcome";
}

}
45 changes: 45 additions & 0 deletions src/org/xcri/common/descriptive/Objective.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/**
* Copyright (c) 2011 University of Bolton
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify,
* merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to the following
* conditions:
* The above copyright notice and this permission notice shall be included in all copies
* or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
* PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
* OR OTHER DEALINGS IN THE SOFTWARE.
*/

package org.xcri.common.descriptive;

import org.jdom.Namespace;
import org.xcri.Namespaces;
import org.xcri.types.DescriptiveTextType;

public class Objective extends DescriptiveTextType{

/* (non-Javadoc)
* @see org.xcri.XcriElement#getNamespace()
*/
@Override
public Namespace getNamespace() {
return Namespaces.MLO_NAMESPACE_NS;
}

/* (non-Javadoc)
* @see org.xcri.XcriElement#getName()
*/
@Override
public String getName() {
return "objective";
}

}
45 changes: 45 additions & 0 deletions src/org/xcri/common/descriptive/Prerequisite.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/**
* Copyright (c) 2011 University of Bolton
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify,
* merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to the following
* conditions:
* The above copyright notice and this permission notice shall be included in all copies
* or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
* PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
* OR OTHER DEALINGS IN THE SOFTWARE.
*/

package org.xcri.common.descriptive;

import org.jdom.Namespace;
import org.xcri.Namespaces;
import org.xcri.types.DescriptiveTextType;

public class Prerequisite extends DescriptiveTextType{

/* (non-Javadoc)
* @see org.xcri.XcriElement#getNamespace()
*/
@Override
public Namespace getNamespace() {
return Namespaces.MLO_NAMESPACE_NS;
}

/* (non-Javadoc)
* @see org.xcri.XcriElement#getName()
*/
@Override
public String getName() {
return "prerequisite";
}

}
45 changes: 45 additions & 0 deletions src/org/xcri/common/descriptive/Regulations.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/**
* Copyright (c) 2011 University of Bolton
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify,
* merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to the following
* conditions:
* The above copyright notice and this permission notice shall be included in all copies
* or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
* PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
* OR OTHER DEALINGS IN THE SOFTWARE.
*/

package org.xcri.common.descriptive;

import org.jdom.Namespace;
import org.xcri.Namespaces;
import org.xcri.types.DescriptiveTextType;

public class Regulations extends DescriptiveTextType{

/* (non-Javadoc)
* @see org.xcri.XcriElement#getNamespace()
*/
@Override
public Namespace getNamespace() {
return Namespaces.XCRI_NAMESPACE_NS;
}

/* (non-Javadoc)
* @see org.xcri.XcriElement#getName()
*/
@Override
public String getName() {
return "regulations";
}

}

0 comments on commit 50f3bc0

Please sign in to comment.